Explorar el Código

管理端密码修改问题

shimingxy hace 8 horas
padre
commit
1a2a5b0f9f

+ 1 - 1
maxkey-webs/maxkey-web-mgt/src/main/java/org/dromara/maxkey/web/idm/controller/UserInfoController.java

@@ -206,7 +206,7 @@ public class UserInfoController {
     
     
     @ResponseBody
-    @PostMapping(value="/changePassword", produces = {MediaType.APPLICATION_JSON_VALUE})
+    @PutMapping(value="/changePassword", produces = {MediaType.APPLICATION_JSON_VALUE})
     public Message<?> changePassword(
             @RequestBody ChangePassword changePassword,
             @CurrentUser UserInfo currentUser) {