ソースを参照

sys config upgrade

abiao 4 年 前
コミット
3e55f6eee8
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      go/gopath/src/fohow.com/libs/wx_mp/pay.go

+ 1 - 1
go/gopath/src/fohow.com/libs/wx_mp/pay.go

@@ -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()