过滤调该类型错误通知

This commit is contained in:
ziming 2025-05-16 18:19:45 +08:00
parent 1a70fa9375
commit 9c62904de5
2 changed files with 2 additions and 2 deletions

View File

@ -164,7 +164,7 @@ func (v *VoucherBiz) fail(ctx context.Context, order *bo.OrderBo, errReq error)
return err
}
if err2.IsWechatAccountFail(errReq) {
if err2.IsWechatAccountFail(errReq) || err2.IsWechatUserMaxCoupons(errReq) {
return nil // 过滤调该类型错误通知
}

View File

@ -249,7 +249,7 @@ const (
ErrorWechatNaturalPersonRuleBlocked = "被自然人规则拦截"
ErrorWechatResourceNotExists = "批次不存在"
ErrorWechatFrequencyLimited = "当前请求人数过多,请稍后重试"
ErrorWechatAccountFail = "该用户账号异常,无法领券。商家可联系微信支付或让用户联系微信支付客服处理"
ErrorWechatAccountFail = "该用户账号异常,无法领券。商家可联系微信支付或让用户联系微信支付客服处理"
)
// WechatError 映射错误描述到具体的错误处理