Jerry há 7 anos atrás
pai
commit
4d623e48b9
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      alipay_server_api.go

+ 1 - 0
alipay_server_api.go

@@ -129,6 +129,7 @@ func VerifyAliPayResultSign(aliPayPublicKey string, notifyRsp *AliPayNotifyReque
 
 	pKey := FormatAliPayPublicKey(aliPayPublicKey)
 	signStr := sortAliPaySignParams(newBody)
+	log.Println("签名字符串:", signStr)
 	err = verifyAliPaySign(signStr, notifyRsp.Sign, "RSA", pKey)
 	if err != nil {
 		return false, err