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:14:02 +08:00
parent 3ea624f832
commit 09dabb232d

View File

@@ -163,8 +163,8 @@ func (pcf *Pay) PrePayOrder(p *Params) (payOrder PreOrder, err error) {
param["sign_type"] = p.SignType
}
// 通知地址
if p.NotifyUrl != "" {
param["notify_url"] = p.NotifyUrl
if p.NotifyURL != "" {
param["notify_url"] = p.NotifyURL
}
bizKey := "&key=" + pcf.PayKey