Commit eddebdbe authored by 吴春's avatar 吴春

提交代码

parent 2ebb16f4
......@@ -126,9 +126,16 @@ namespace Mall.WebApi.Controllers.User
int RoleAuth = 0;
if (model.TenantId == 1 && !string.IsNullOrEmpty(model.RoleAuth))
{
if (model.RoleAuth.Split(",").Any(x => x == "-1"))
try
{
RoleAuth = 1;
if (model.RoleAuth.Split(",").Any(x => x == "-1"))
{
RoleAuth = 1;
}
}
catch (Exception ex)
{
}
}
#region add by:W 2020-07-06 erp授权信息
......
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