Commit c35e71d2 authored by xiaozhe.chen's avatar xiaozhe.chen

客服系统对接中台接口,用户修改、修改密码、修改账户状态

parent 3b87b4a3
......@@ -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);
}
/**
......
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