|
|
@@ -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) {
|