This commit is contained in:
Mrx
2026-02-28 11:54:17 +08:00
parent 60a0770917
commit b3429bad76

View File

@@ -30,7 +30,8 @@ func Verify(cfg Config, captchaVerifyParam string) error {
// 检查参数 // 检查参数
if captchaVerifyParam == "" { if captchaVerifyParam == "" {
return errors.Wrapf(xerr.NewErrMsg("图形验证码校验失败"), "empty captchaVerifyParam") logx.Info("[Captcha] 空参数,跳过验证码校验,兼容未做防盗刷验证码的场景")
return nil
} }
// 创建客户端配置 // 创建客户端配置