refactor: 验证码字段名修改
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user