|
@@ -163,7 +163,7 @@ func GetAppPayData(outTradeNo string, totalPrice int64, body, notifyUrl, remoteI
|
|
|
"appId": appId,
|
|
"appId": appId,
|
|
|
"partnerId": outTradeNo,
|
|
"partnerId": outTradeNo,
|
|
|
"timeStamp": fmt.Sprintf("%d", time.Now().Unix()),
|
|
"timeStamp": fmt.Sprintf("%d", time.Now().Unix()),
|
|
|
- "package": fmt.Sprintf("prepay_id=%s", prepayId),
|
|
|
|
|
|
|
+ "prepayId,": prepayId,
|
|
|
"signType": "MD5",
|
|
"signType": "MD5",
|
|
|
"nonceStr": nonce_str}
|
|
"nonceStr": nonce_str}
|
|
|
ret["paySign"] = mch.Sign(ret, mechantInfo.ApiKey, nil)
|
|
ret["paySign"] = mch.Sign(ret, mechantInfo.ApiKey, nil)
|