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)