We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 076762c commit ac1669aCopy full SHA for ac1669a
doc/wechat_v3.md
@@ -37,7 +37,10 @@ if err != nil {
37
return
38
}
39
40
-// 启用自动同步返回验签,并定时更新微信平台API证书
+// 设置微信平台API证书和序列号(如开启自动验签,请忽略此步骤)
41
+//client.SetPlatformCert([]byte(""), "")
42
+
43
+// 启用自动同步返回验签,并定时更新微信平台API证书(开启自动验签时,无需单独设置微信平台API证书和序列号)
44
err = client.AutoVerifySign()
45
if err != nil {
46
xlog.Error(err)
wechat/v3/client_test.go
@@ -63,6 +63,10 @@ func TestMain(m *testing.M) {
63
64
65
66
67
+ // 设置微信平台证书和序列号,如开启自动验签,请忽略此步骤
68
+ //client.SetPlatformCert([]byte(""), "")
69
70
// 启用自动同步返回验签,并定时更新微信平台API证书
71
72
0 commit comments