diff --git a/internal/biz/kx/wx_to_bb.go b/internal/biz/kx/wx_to_bb.go index bdcf429..fcea599 100644 --- a/internal/biz/kx/wx_to_bb.go +++ b/internal/biz/kx/wx_to_bb.go @@ -33,7 +33,7 @@ type WechatToBBRequest struct { func (this *WechatToBBRequest) GetSynNotice() *SynNotice { return &SynNotice{ OutBizBo: this.OrderId, - Type: NoticeTypeBBToWechat, + Type: NoticeTypeWechatToBB, BizContent: this, } } diff --git a/internal/pkg/mq_http/mq_http_test.go b/internal/pkg/mq_http/mq_http_test.go index 81a903c..7191007 100644 --- a/internal/pkg/mq_http/mq_http_test.go +++ b/internal/pkg/mq_http/mq_http_test.go @@ -48,8 +48,8 @@ func Test_WechatNotifyProducer2(t *testing.T) { "associated_data":"coupon", "plain_text":{ "stock_creator_mchid":"1652465541", -"stock_id":"20259610", -"coupon_id":"97225743207", +"stock_id":"10000000", +"coupon_id":"192472991714512896029", "coupon_name":"test", "description":"","status":"USED", "create_time":"2025-03-07T15:49:31+08:00",