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:
@@ -163,8 +163,8 @@ func (pcf *Pay) PrePayOrder(p *Params) (payOrder PreOrder, err error) {
|
|||||||
param["sign_type"] = p.SignType
|
param["sign_type"] = p.SignType
|
||||||
}
|
}
|
||||||
// 通知地址
|
// 通知地址
|
||||||
if p.NotifyUrl != "" {
|
if p.NotifyURL != "" {
|
||||||
param["notify_url"] = p.NotifyUrl
|
param["notify_url"] = p.NotifyURL
|
||||||
}
|
}
|
||||||
|
|
||||||
bizKey := "&key=" + pcf.PayKey
|
bizKey := "&key=" + pcf.PayKey
|
||||||
|
|||||||
Reference in New Issue
Block a user