From 5be273e1d02e7b3fda3cf55dc92a90db60b092d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=B5=B7?= <10402852@qq.com> Date: Wed, 11 Aug 2021 11:50:48 +0800 Subject: [PATCH] commit --- .../CaptchaRelate/CaptchaController/CaptchaController.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dsSzxy/Business/CaptchaRelate/CaptchaController/CaptchaController.go b/dsSzxy/Business/CaptchaRelate/CaptchaController/CaptchaController.go index 693d151a..c5519f29 100644 --- a/dsSzxy/Business/CaptchaRelate/CaptchaController/CaptchaController.go +++ b/dsSzxy/Business/CaptchaRelate/CaptchaController/CaptchaController.go @@ -60,9 +60,9 @@ func CaptMake() (string, string) { driver := &base64Captcha.DriverDigit{ Height: 100, Width: 200, - Length: 5, + Length: 4, MaxSkew: 1, - DotCount: 1, + DotCount: 2, } // 生成base64图片 c := base64Captcha.NewCaptcha(driver, store)