Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Education
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄奎
Education
Commits
4875466b
Commit
4875466b
authored
Aug 26, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
7ee2a675
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
UserController.cs
Edu.WebApi/Controllers/User/UserController.cs
+7
-4
No files found.
Edu.WebApi/Controllers/User/UserController.cs
View file @
4875466b
...
...
@@ -1758,7 +1758,8 @@ namespace Edu.WebApi.Controllers.User
}
else
{
return
ApiResult
.
Failed
(
"企业微信token请求失败"
);
Common
.
Plugin
.
LogHelper
.
Write
(
"SetEmployee_企业微信token请求失败"
);
// return ApiResult.Failed("企业微信token请求失败");
}
}
//验证员工下是否有客户
...
...
@@ -1769,19 +1770,21 @@ namespace Edu.WebApi.Controllers.User
{
if
(
excontact
.
external_userid
!=
null
&&
excontact
.
external_userid
.
Any
())
{
return
ApiResult
.
Failed
(
"该用户下有未转移的企业客户,请交接客户后再试"
);
Common
.
Plugin
.
LogHelper
.
Write
(
"SetEmployee_该用户下有未转移的企业客户,请交接客户后再试"
);
//return ApiResult.Failed("该用户下有未转移的企业客户,请交接客户后再试");
}
}
else
{
return
ApiResult
.
Failed
(
"企业微信获取客户列表失败"
);
Common
.
Plugin
.
LogHelper
.
Write
(
"SetEmployee_企业微信获取客户列表失败"
);
//return ApiResult.Failed("企业微信获取客户列表失败");
}
}
catch
(
Exception
ex
)
{
if
(!
ex
.
Message
.
Contains
(
"84061"
))
{
return
ApiResult
.
Failed
(
"
企业微信获取客户列表失败"
);
Common
.
Plugin
.
LogHelper
.
Write
(
ex
,
"SetEmployee_
企业微信获取客户列表失败"
);
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment