From 13e1dbd975f2967ccbed905dc005685b805a02b1 Mon Sep 17 00:00:00 2001 From: Jerry <85411418@qq.com> Date: Tue, 16 Mar 2021 18:00:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=BE=AE=E4=BF=A1V3=E5=9B=9E?= =?UTF-8?q?=E8=B0=83=E9=AA=8C=E7=AD=BE=E5=92=8C=E9=80=9A=E7=9F=A5=E8=A7=A3?= =?UTF-8?q?=E5=AF=86=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 58c281e5..d1f0006f 100644 --- a/README.md +++ b/README.md @@ -688,8 +688,11 @@ ok, err = alipay.VerifySignWithCert("alipayCertPublicKey_RSA2.crt", notifyReq) // ==异步通知,返回支付宝平台的信息== // 文档:https://opendocs.alipay.com/open/203/105286 // 程序执行完后必须打印输出“success”(不包含引号)。如果商户反馈给支付宝的字符不是success这7个字符,支付宝服务器会不断重发通知,直到超过24小时22分钟。一般情况下,25小时以内完成8次通知(通知的间隔频率一般是:4m,10m,10m,1h,2h,6h,15h) -return c.String(http.StatusOK, "success") // 此写法是 echo 框架返回支付宝的写法 -c.String(http.StatusOK, "%s", "success") // 此写法是 gin 框架返回支付宝的写法 + +// 此写法是 gin 框架返回支付宝的写法 +c.String(http.StatusOK, "%s", "success") +// 此写法是 echo 框架返回支付宝的写法 +return c.String(http.StatusOK, "success") ``` ## 6、微信、支付宝 公共API(仅部分说明)