src/main/java/com/whyc/controller/UserController.java
@@ -119,8 +119,9 @@ @PostMapping("/updatePassword") @ApiOperation(value = "修改密码") public Response updatePassword(@RequestBody UserInf userInf){ return userService.updatePassword(userInf); public Response updatePassword(@RequestParam String password){ UserInf userInf = ActionUtil.getUser(); return userService.updatePassword(userInf,password); }