Commit 15873337 by yemin

no message

parent 788ef957
......@@ -58,6 +58,7 @@ func (s *WechatPartnerPayClient) WxJsApiOrder(p *PaymentJsApiParam) *PaymentJsAp
Payer: &jsapi.Payer{
SpOpenid: p.OpenId,
},
Attach: p.Attach,
},
)
if err != nil {
......
......@@ -5,6 +5,7 @@ type PaymentParams struct {
Title *string `json:"title,omitempty"` // 交易标题/商品描述,必须
OutTradeNo *string `json:"outTradeNo,omitempty"` // 交易订单号,必须
TimeExpire *int64 `json:"timeExpire,omitempty"` // 超时时长,即代表是多少分钟后订单超时无效(分钟为单位)
Attach *string `json:"attach,omitempty"` //附加数据,在查询API和支付通知中原样返回,可作为自定义参数使用,实际情况下只有支付完成状态才会返回该字段
CallBackUrl *string `json:"callBackUrl,omitempty"` // 回调地址,必须
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment