refactor: 代码优化

This commit is contained in:
hxr
2023-10-02 23:55:10 +08:00
parent 1462fef936
commit e5c4ce5f9d

View File

@@ -41,7 +41,7 @@ public class AuthController {
@Operation(summary = "获取验证码")
@GetMapping("/captcha")
public Result getCaptcha() {
public Result<CaptchaResult> getCaptcha() {
CaptchaResult captcha = authService.getCaptcha();
return Result.success(captcha);
}