Bläddra i källkod

更改app支付 package签名

abiao 4 år sedan
förälder
incheckning
40d2f9135a
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      go/gopath/src/fohow.com/libs/wx_mp/pay.go

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

@@ -164,8 +164,8 @@ func GetAppPayData(outTradeNo string, totalPrice int64, body, notifyUrl, remoteI
 		"partnerid": outTradeNo,
 		"prepayid":  prepayId,
 		"package":   "Sign=WXPay",
-		"timeStamp": fmt.Sprintf("%d", time.Now().Unix()),
-		"nonceStr":  nonce_str}
+		"timestamp": fmt.Sprintf("%d", time.Now().Unix()),
+		"noncestr":  nonce_str}
 	ret["pasignySign"] = mch.Sign(ret, mechantInfo.ApiKey, nil)
 	return ret