refactor: 验证码图片大小调整
This commit is contained in:
@@ -85,7 +85,7 @@ public class AuthServiceImpl implements AuthService {
|
||||
@Override
|
||||
public CaptchaResult getCaptcha() {
|
||||
// 获取验证码
|
||||
GifCaptcha captcha = CaptchaUtil.createGifCaptcha(120, 36, 4); // 宽、高、位数
|
||||
GifCaptcha captcha = CaptchaUtil.createGifCaptcha(120, 40, 4); // 宽、高、位数
|
||||
String captchaCode = captcha.getCode(); // 验证码
|
||||
String captchaBase64 = captcha.getImageBase64Data(); // 验证码图片Base64
|
||||
|
||||
|
||||
Reference in New Issue
Block a user