浏览代码

支付对接

abiao 4 年之前
父节点
当前提交
7d173b232d
共有 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

@@ -161,7 +161,7 @@ func GetAppPayData(outTradeNo string, totalPrice int64, body, notifyUrl, remoteI
 	nonce_str := strings.Join(us, "")
 	ret = map[string]string{
 		"appid":     appId,
-		"partnerid": outTradeNo,
+		"partnerid": mechantInfo.MchId,
 		"prepayid":  prepayId,
 		"package":   "Sign=WXPay",
 		"timestamp": fmt.Sprintf("%d", time.Now().Unix()),