Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
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
youjj
cloud-platform
Commits
b8208601
Commit
b8208601
authored
Dec 12, 2019
by
hanfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户管理
parent
653f65bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
AppStaffUserController.java
...b/wxiaoqi/security/admin/rest/AppStaffUserController.java
+13
-0
No files found.
ace-modules/ace-admin/src/main/java/com/github/wxiaoqi/security/admin/rest/AppStaffUserController.java
View file @
b8208601
...
@@ -80,4 +80,17 @@ public class AppStaffUserController extends BaseController<AppStaffUserBiz, AppS
...
@@ -80,4 +80,17 @@ public class AppStaffUserController extends BaseController<AppStaffUserBiz, AppS
return
ObjectRestResponse
.
succ
();
return
ObjectRestResponse
.
succ
();
}
}
@Override
@ApiOperation
(
"修改"
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
PUT
)
@ResponseBody
public
ObjectRestResponse
update
(
@RequestBody
AppStaffUser
appStaffUser
)
throws
Exception
{
AppUserDTO
userDTO
=
(
AppUserDTO
)
publicController
.
userDetailByToken
(
authConfig
.
getToken
(
request
)).
getData
();
if
(
appStaffUser
.
getPhone
().
equals
(
userDTO
.
getUsername
()))
{
return
ObjectRestResponse
.
createFailedResult
(
ResultCode
.
FAILED_CODE
,
"不能绑定本人为客户"
);
}
baseBiz
.
updateSelectiveById
(
appStaffUser
);
return
ObjectRestResponse
.
succ
();
}
}
}
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