修改回调

This commit is contained in:
wolter 2024-08-14 16:40:24 +08:00
parent 921c40606b
commit 39162a1750
1 changed files with 6 additions and 6 deletions

View File

@ -43,9 +43,9 @@ type OrderNotifySendContent struct {
OrderType int `json:"order_type"`
Status int `json:"status"`
Msg string `json:"msg"`
//ErrCode int `json:"err_code"`
AppId int64 `json:"app_id"`
ChannelId int64 `json:"channel_id"`
ErrCode int `json:"err_code"`
AppId int64 `json:"app_id"`
ChannelId int64 `json:"channel_id"`
//MerchantId int64 `json:"merchant_id"`
Amount int `json:"amount"`
PayerTotal int `json:"payer_total"`
@ -160,9 +160,9 @@ func (o *OrderNotify) setBody() *OrderNotifySendContent {
Status: o.order.Status,
OrderType: o.order.OrderType,
Msg: o.Msg,
//ErrCode: o.Status,
AppId: o.order.AppId,
ChannelId: o.order.PayChannelId,
ErrCode: o.Code,
AppId: o.order.AppId,
ChannelId: o.order.PayChannelId,
//MerchantId: o.order.MerchantId,
Amount: o.order.Amount,
PayerTotal: o.order.PayerTotal,