Skip to content

Commit

Permalink
Merge pull request smartwalle#170 from HoracePeng/trade_create_openid
Browse files Browse the repository at this point in the history
Update trade_type.go
  • Loading branch information
smartwalle authored Jul 17, 2023
2 parents 21e0a4a + 22ad6cf commit 6e34d6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions trade_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ type TradeCreate struct {
Trade
DiscountableAmount string `json:"discountable_amount"` // 可打折金额. 参与优惠计算的金额,单位为元,精确到小数点后两位
BuyerId string `json:"buyer_id"`
BuyerOpenId string `json:"buyer_open_id"` // 新版接口无法获取user_id, 这里只能传递openid值
GoodsDetail []*GoodsDetailItem `json:"goods_detail,omitempty"`
OperatorId string `json:"operator_id"`
TerminalId string `json:"terminal_id"`
Expand Down

0 comments on commit 6e34d6b

Please sign in to comment.