|
|
|
@ -54,7 +54,7 @@ public class SecUserController { |
|
|
|
|
|
|
|
|
|
@RequestMapping(value="/sendUserPass",method = RequestMethod.POST) |
|
|
|
|
@ResponseBody |
|
|
|
|
@ApiOperation(value = "修改用户密码 {'userId':'','nonceStr':'','password':'','sign':''} ") |
|
|
|
|
@ApiOperation(value = "修改用户密码 {'userId':'','nonceStr':'','newPassword':'','sign':''} ") |
|
|
|
|
public ResponseData sendUserPass(@RequestBody String reqBody, HttpServletRequest request, HttpServletResponse response) throws Exception{ |
|
|
|
|
try { |
|
|
|
|
|
|
|
|
@ -62,7 +62,7 @@ public class SecUserController { |
|
|
|
|
|
|
|
|
|
Long userId = jsonObject.getLong("userId"); //用户Id
|
|
|
|
|
String oldPassword = jsonObject.getString("oldPassword"); //旧密码
|
|
|
|
|
String password = jsonObject.getString("password"); //密码
|
|
|
|
|
String password = jsonObject.getString("newPassword"); //密码
|
|
|
|
|
|
|
|
|
|
if(userId == null || StringUtils.isBlank(oldPassword) || StringUtils.isBlank(password)) { |
|
|
|
|
log.error("BaseMemberController --> sendUserPass() error!","参数错误"); |
|
|
|
|