Jerry 7 anos atrás
pai
commit
a38cc665b8
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      wechat_params.go

+ 1 - 1
wechat_params.go

@@ -19,7 +19,7 @@ func GetMiniPaySign(appId, nonceStr, prepayId, signType, timeStamp, secretKey st
 	buffer.WriteString(nonceStr)
 
 	buffer.WriteString("&package=")
-	buffer.WriteString("prepay_id=" + prepayId)
+	buffer.WriteString(prepayId)
 
 	buffer.WriteString("&signType=")
 	buffer.WriteString(signType)