切换kit包依赖为本库kit

This commit is contained in:
❀ » Cato Sweeney. ❀ » Console@the.bb
2024-01-23 20:25:47 +08:00
parent e9a187520c
commit 9746ee63cd
109 changed files with 400 additions and 371 deletions

View File

@@ -13,9 +13,9 @@ var driver base64Captcha.Driver = base64Captcha.NewDriverDigit(80, 240, 4, 0.7,
func Generate() (string, string, string) {
c := base64Captcha.NewCaptcha(driver, store)
// 获取
id, b64s, answer, err := c.Generate()
id, b64s, err := c.Generate()
biz.ErrIsNilAppendErr(err, "获取验证码错误: %s")
return id, b64s, answer
return id, b64s, "answer"
}
// 验证验证码