Jerry 7 年之前
父节点
当前提交
f02d9bbb90
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 {
+		if vStr != null && vStr != "0" {
 			newBody.Set(k, v)
 		}
 	}