refactor: 验证码字段名修改

This commit is contained in:
hxr
2023-11-05 17:32:26 +08:00
parent 791dc49a52
commit cf55ab811d
3 changed files with 5 additions and 3 deletions

View File

@@ -76,7 +76,9 @@ public class SecurityConfig {
"/swagger-resources/**",
"/v3/api-docs/**",
"/swagger-ui/**",
"/ws/**"
"/swagger-ui.html",
"/ws/**",
"/ws-app/**"
);
}

View File

@@ -19,6 +19,6 @@ public class CaptchaResult {
private String verifyCodeKey;
@Schema(description = "验证码图片Base64字符串")
private String verifyCodeBase64;
private String captchaImgBase64;
}

View File

@@ -99,7 +99,7 @@ public class AuthServiceImpl implements AuthService {
return CaptchaResult.builder()
.verifyCodeKey(verifyCodeKey)
.verifyCodeBase64(captchaBase64)
.captchaImgBase64(captchaBase64)
.build();
}