|
@@ -159,6 +159,7 @@ func GetAppPayData(outTradeNo string, totalPrice int64, body, notifyUrl, remoteI
|
|
|
nonce_str := strings.Join(us, "")
|
|
nonce_str := strings.Join(us, "")
|
|
|
ret = map[string]string{
|
|
ret = map[string]string{
|
|
|
"appId": appId,
|
|
"appId": appId,
|
|
|
|
|
+ "partnerId": outTradeNo,
|
|
|
"timeStamp": fmt.Sprintf("%d", time.Now().Unix()),
|
|
"timeStamp": fmt.Sprintf("%d", time.Now().Unix()),
|
|
|
"package": fmt.Sprintf("prepay_id=%s", prepayId),
|
|
"package": fmt.Sprintf("prepay_id=%s", prepayId),
|
|
|
"signType": "MD5",
|
|
"signType": "MD5",
|