1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-02-04 12:52:27 +08:00

支付 新增 BridgeConfig 方法,可获得 prepay ID,及js支付时所需要的参数

统一下单 新增非必传参数
This commit is contained in:
ciel yu
2019-10-14 19:35:08 +08:00
parent f68f9d6f5e
commit 0c9dd16f1f

View File

@@ -160,6 +160,7 @@ func (pcf *Pay) PrePayOrder(p *Params) (payOrder PreOrder, err error) {
param["total_fee"] = p.TotalFee
param["trade_type"] = p.TradeType
param["openid"] = p.OpenID
param["sign_type"] = p.SignType
param["detail"] = p.Detail
param["attach"] = p.Attach
param["goods_tag"] = p.GoodsTag