Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
customer-service
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
QG
customer-service
Commits
c35e71d2
Commit
c35e71d2
authored
Jun 01, 2020
by
xiaozhe.chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客服系统对接中台接口,用户修改、修改密码、修改账户状态
parent
3b87b4a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
UserRest.java
src/main/java/cn/quantgroup/customer/rest/UserRest.java
+6
-4
No files found.
src/main/java/cn/quantgroup/customer/rest/UserRest.java
View file @
c35e71d2
...
...
@@ -150,10 +150,12 @@ public class UserRest {
* @return
*/
@PostMapping
(
value
=
"/pwd/reset"
)
public
JsonResult
passwordReset
()
{
return
JsonResult
.
buildSuccessResult
(
"success"
,
null
);
public
JsonResult
passwordReset
(
String
phoneNo
)
{
if
(
StringUtils
.
isEmpty
(
phoneNo
))
{
return
JsonResult
.
buildErrorStateResult
(
ErrorCodeEnum
.
PARAM_ERROR
.
getMessage
(),
ErrorCodeEnum
.
PARAM_ERROR
.
getCode
());
}
String
response
=
userService
.
passwordRest
(
phoneNo
);
return
GSON
.
fromJson
(
response
,
JsonResult
.
class
);
}
/**
...
...
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