From 43bee2d6580cd91caa570ac7f66ee1be1a3b4223 Mon Sep 17 00:00:00 2001 From: hurui <177768073@qq.com> Date: Sat, 2 Apr 2022 09:47:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4diam?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/bweb/controller/SecUserController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hai-bweb/src/main/java/com/bweb/controller/SecUserController.java b/hai-bweb/src/main/java/com/bweb/controller/SecUserController.java index 6ed33adb..6a87f752 100644 --- a/hai-bweb/src/main/java/com/bweb/controller/SecUserController.java +++ b/hai-bweb/src/main/java/com/bweb/controller/SecUserController.java @@ -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!","参数错误");