接口调整

This commit is contained in:
李子铭 2025-03-13 11:31:28 +08:00
parent 0de4d12b85
commit 6624a5193f
2 changed files with 6 additions and 3 deletions

View File

@ -51,10 +51,9 @@ func (v *VoucherBiz) NotifyRetryConsume(ctx context.Context, orderNotifyId uint6
}
if order.Type.IsCmb() {
orderNotify, err2 = v.Cmb.NotifyRetryConsume(ctx, order, orderNotify)
if err2 != nil {
return err2
}
return err2
}
return fmt.Errorf("订单类型错误:%s", order.Type.GetText())

View File

@ -117,6 +117,10 @@ func (v *VoucherBiz) registerNotifyTag(ctx context.Context, stockCreatorMchID, s
if wechatNotifyTag != nil {
if wechatNotifyTag.Tag != v.bc.WechatNotifyMQ.Tag {
return fmt.Errorf("tag不一致请检查tag配置:%s", wechatNotifyTag.Tag)
}
return v.setCache(ctx, c, wechatNotifyTag)
}