2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-06 17:33:43 +08:00

feat: 发布 v2.1.31

This commit is contained in:
耗子
2023-12-22 17:17:16 +08:00
parent 69e972fa5e
commit 8bfef8030c
8 changed files with 36 additions and 36 deletions

View File

@@ -47,7 +47,8 @@ func NewCaptcha() *Captcha {
// GenerateCaptcha 生成图片验证码
func (c *Captcha) GenerateCaptcha() (id string, b64s string, err error) {
return c.Base64Captcha.Generate()
id, b64s, _, err = c.Base64Captcha.Generate()
return id, b64s, err
}
// VerifyCaptcha 验证验证码是否正确