This commit is contained in:
ziming 2025-05-20 15:44:49 +08:00
parent d8c827b59e
commit 6e05cf2045
2 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ type WechatToBBRequest struct {
func (this *WechatToBBRequest) GetSynNotice() *SynNotice { func (this *WechatToBBRequest) GetSynNotice() *SynNotice {
return &SynNotice{ return &SynNotice{
OutBizBo: this.OrderId, OutBizBo: this.OrderId,
Type: NoticeTypeBBToWechat, Type: NoticeTypeWechatToBB,
BizContent: this, BizContent: this,
} }
} }

View File

@ -48,8 +48,8 @@ func Test_WechatNotifyProducer2(t *testing.T) {
"associated_data":"coupon", "associated_data":"coupon",
"plain_text":{ "plain_text":{
"stock_creator_mchid":"1652465541", "stock_creator_mchid":"1652465541",
"stock_id":"20259610", "stock_id":"10000000",
"coupon_id":"97225743207", "coupon_id":"192472991714512896029",
"coupon_name":"test", "coupon_name":"test",
"description":"","status":"USED", "description":"","status":"USED",
"create_time":"2025-03-07T15:49:31+08:00", "create_time":"2025-03-07T15:49:31+08:00",