diff --git a/internal/biz/order.go b/internal/biz/order.go index 421c690..8cccf2c 100644 --- a/internal/biz/order.go +++ b/internal/biz/order.go @@ -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 // 过滤调该类型错误通知 } diff --git a/internal/data/wechatrepoimpl/cpn_code.go b/internal/data/wechatrepoimpl/cpn_code.go index c36a03a..4dfe297 100644 --- a/internal/data/wechatrepoimpl/cpn_code.go +++ b/internal/data/wechatrepoimpl/cpn_code.go @@ -249,7 +249,7 @@ const ( ErrorWechatNaturalPersonRuleBlocked = "被自然人规则拦截" ErrorWechatResourceNotExists = "批次不存在" ErrorWechatFrequencyLimited = "当前请求人数过多,请稍后重试" - ErrorWechatAccountFail = "该用户账号异常,无法领券。商家可联系微信支付或让用户联系微信支付客服处理" + ErrorWechatAccountFail = "该用户账号异常,无法领券。商家可联系微信支付或让用户联系微信支付客服处理。" ) // WechatError 映射错误描述到具体的错误处理