Commit eddebdbe authored by 吴春's avatar 吴春

提交代码

parent 2ebb16f4
......@@ -125,12 +125,19 @@ namespace Mall.WebApi.Controllers.User
}
int RoleAuth = 0;
if (model.TenantId == 1 && !string.IsNullOrEmpty(model.RoleAuth))
{
try
{
if (model.RoleAuth.Split(",").Any(x => x == "-1"))
{
RoleAuth = 1;
}
}
catch (Exception ex)
{
}
}
#region add by:W 2020-07-06 erp授权信息
var erpUserInfo = new Mall.Model.Entity.Property.RB_Employee();
string erptoken = "";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment