Commit 4875466b authored by 黄奎's avatar 黄奎

页面修改

parent 7ee2a675
...@@ -1758,7 +1758,8 @@ namespace Edu.WebApi.Controllers.User ...@@ -1758,7 +1758,8 @@ namespace Edu.WebApi.Controllers.User
} }
else else
{ {
return ApiResult.Failed("企业微信token请求失败"); Common.Plugin.LogHelper.Write("SetEmployee_企业微信token请求失败");
// return ApiResult.Failed("企业微信token请求失败");
} }
} }
//验证员工下是否有客户 //验证员工下是否有客户
...@@ -1769,19 +1770,21 @@ namespace Edu.WebApi.Controllers.User ...@@ -1769,19 +1770,21 @@ namespace Edu.WebApi.Controllers.User
{ {
if (excontact.external_userid != null && excontact.external_userid.Any()) if (excontact.external_userid != null && excontact.external_userid.Any())
{ {
return ApiResult.Failed("该用户下有未转移的企业客户,请交接客户后再试"); Common.Plugin.LogHelper.Write("SetEmployee_该用户下有未转移的企业客户,请交接客户后再试");
//return ApiResult.Failed("该用户下有未转移的企业客户,请交接客户后再试");
} }
} }
else else
{ {
return ApiResult.Failed("企业微信获取客户列表失败"); Common.Plugin.LogHelper.Write("SetEmployee_企业微信获取客户列表失败");
//return ApiResult.Failed("企业微信获取客户列表失败");
} }
} }
catch (Exception ex) catch (Exception ex)
{ {
if (!ex.Message.Contains("84061")) if (!ex.Message.Contains("84061"))
{ {
return ApiResult.Failed("企业微信获取客户列表失败"); Common.Plugin.LogHelper.Write(ex, "SetEmployee_企业微信获取客户列表失败");
} }
} }
} }
......
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