更新 UserController.java
This commit is contained in:
@@ -51,6 +51,7 @@ public class UserController {
|
||||
|
||||
@PostMapping("/user/update")
|
||||
public ServerResponseEntity<Boolean> updatePassword(@RequestBody PasswordData passwordData) {
|
||||
logger.info("request passwordData: {}",passwordData);
|
||||
if(passwordData != null){
|
||||
boolean isSuccess = userService.updateUserPasswordByUserId(passwordData);
|
||||
if (isSuccess) {
|
||||
|
||||
Reference in New Issue
Block a user