|
@@ -47,7 +47,7 @@ public class LoginController {
|
|
|
|
|
|
@ApiOperation("修改密码")
|
|
|
@PostMapping("updatePassword")
|
|
|
- public BaseResponse updatePassword(@Validated UpdatePasswordReq req) throws Exception {
|
|
|
+ public BaseResponse updatePassword(@Validated @RequestBody UpdatePasswordReq req) throws Exception {
|
|
|
loginService.updatePassword(req);
|
|
|
return BaseResponse.create();
|
|
|
}
|