|
|
@@ -202,7 +202,7 @@ func getAppPayPrepayId(outTradeNo string, totalPrice int64, body, notifyUrl, rem
|
|
|
|
|
|
// 获取jsSDK微信支付需要的数据
|
|
|
func GetPayData(openid, outTradeNo string, totalPrice int64, body, notifyUrl, remoteIp, payCode string) (ret map[string]string) {
|
|
|
- appId := beego.AppConfig.String(" ") //获取小程序渠道appId
|
|
|
+ appId := beego.AppConfig.String("WxFohowXcxAppId") //获取小程序渠道appId
|
|
|
mechantInfo := GetMechantInfo(payCode)
|
|
|
prepayId := getPayPrepayId(openid, outTradeNo, totalPrice, body, notifyUrl, remoteIp, payCode, true)
|
|
|
u := uuid.NewV4().String()
|