Bläddra i källkod

fix gitlabPasswordBug try2

icenaked 3 år sedan
förälder
incheckning
c9226ed8cb

+ 9 - 9
seecoder-portal-server/src/main/java/cn/seecoder/seecoderportalserver/web/rest/UserController.java

@@ -87,15 +87,15 @@ public class UserController {
         return OkResponse.of(true);
     }
 
-    @PostMapping("/resetGitlabPassword")
-    public OkResponse<Boolean> resetGitlabPassword(@RequestBody ResetPasswordDTO resetPasswordDTO) {
-        userService.resetGitlabPassword(
-                resetPasswordDTO.getPhone(),
-                resetPasswordDTO.getIdentifyCode(),
-                resetPasswordDTO.getPassword()
-        );
-        return OkResponse.of(true);
-    }
+//    @PostMapping("/resetGitlabPassword")
+//    public OkResponse<Boolean> resetGitlabPassword(@RequestBody ResetPasswordDTO resetPasswordDTO) {
+//        userService.resetGitlabPassword(
+//                resetPasswordDTO.getPhone(),
+//                resetPasswordDTO.getIdentifyCode(),
+//                resetPasswordDTO.getPassword()
+//        );
+//        return OkResponse.of(true);
+//    }
 
     @GetMapping("/findIdByPhone/{phone}")
     public OkResponse<Long> findIdByPhone(@PathVariable String phone) {