Jerry 7 vuotta sitten
vanhempi
commit
98aa0e30ea
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      wechat_servier_api.go

+ 1 - 1
wechat_servier_api.go

@@ -100,7 +100,7 @@ func VerifyPayResultSign(apiKey string, signType string, notifyRsp *WeChatNotify
 	newBody := make(BodyMap)
 	for k, v := range body {
 		vStr := convert2String(v)
-		if vStr != null && vStr != "0" {
+		if vStr != null {
 			newBody.Set(k, v)
 		}
 	}