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