refactor: 代码优化
This commit is contained in:
@@ -41,7 +41,7 @@ public class AuthController {
|
|||||||
|
|
||||||
@Operation(summary = "获取验证码")
|
@Operation(summary = "获取验证码")
|
||||||
@GetMapping("/captcha")
|
@GetMapping("/captcha")
|
||||||
public Result getCaptcha() {
|
public Result<CaptchaResult> getCaptcha() {
|
||||||
CaptchaResult captcha = authService.getCaptcha();
|
CaptchaResult captcha = authService.getCaptcha();
|
||||||
return Result.success(captcha);
|
return Result.success(captcha);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user