refactor: 验证码字段名修改

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

No files matched your search

@@ -76,7 +76,9 @@ public class SecurityConfig {
"/swagger-resources/**",
"/v3/api-docs/**",
"/swagger-ui/**",
"/ws/**"
"/swagger-ui.html",
"/ws/**",
"/ws-app/**"
);
}
@@ -19,6 +19,6 @@ public class CaptchaResult {
private String verifyCodeKey;
@Schema(description = "验证码图片Base64字符串")
private String verifyCodeBase64;
private String captchaImgBase64;
}
@@ -99,7 +99,7 @@ public class AuthServiceImpl implements AuthService {
return CaptchaResult.builder()
.verifyCodeKey(verifyCodeKey)
.verifyCodeBase64(captchaBase64)
.captchaImgBase64(captchaBase64)
.build();
}