refactor: 代码优化

This commit is contained in:
hxr committed 2023-10-02 23:55:10 +08:00
1 parent 1462fef936
commit e5c4ce5f9d
1 file changed
+1 -1
@@ -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);
}