1
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
昔念
2026-02-03 22:44:13 +08:00
parent af92c89e1c
commit b049e129c5
5 changed files with 31 additions and 16 deletions

View File

@@ -134,7 +134,7 @@ func (*BaseSysLoginService) Captcha(req *v1.BaseOpenCaptchaReq) (interface{}, er
result.Data = `data:image/svg+xml;base64,` + svgbase64
result.CaptchaId = guid.S()
cool.CacheManager.Set(ctx, "login:"+result.CaptchaId, captchaText, 1800*time.Second)
cool.Logger.Debug(ctx, "验证码", result.CaptchaId, captchaText)
return result, err
}