Skip to content

Commit

Permalink
Merge pull request smartwalle#143 from 42thcoder/master
Browse files Browse the repository at this point in the history
修复与官方文档不一致的地方
  • Loading branch information
smartwalle authored Mar 1, 2022
2 parents 75a64ac + 2f823a8 commit 2b46e3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trade_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type Trade struct {
Subject string `json:"subject"` // 订单标题
OutTradeNo string `json:"out_trade_no"` // 商户订单号,64个字符以内、可包含字母、数字、下划线;需保证在商户端不重复
TotalAmount string `json:"total_amount"` // 订单总金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000]
ProductCode string `json:"product_code"` // 销售产品码,与支付宝签约的产品码名称。 注:目前仅支持FAST_INSTANT_TRADE_PAY
ProductCode string `json:"product_code"` // 销售产品码,与支付宝签约的产品码名称。 参考官方文档, App 支付时默认值为 QUICK_MSECURITY_PAY

Body string `json:"body,omitempty"` // 订单描述
BusinessParams string `json:"business_params,omitempty"` // 商户传入业务信息,具体值要和支付宝约定,应用于安全,营销等参数直传场景,格式为json格式
Expand Down

0 comments on commit 2b46e3c

Please sign in to comment.