Parcourir la source

sys config upgrade

abiao il y a 4 ans
Parent
commit
3e55f6eee8
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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()