refactor: 验证码图片大小调整
This commit is contained in:
1 parent
9453600715
commit
51d02ffbb8
1 file changed
+1
-1
@@ -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