refactor: 代码优化
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user