use websocket

This commit is contained in:
landaiqing
2024-08-17 20:01:03 +08:00
parent e8fbff7e7f
commit 57964d39af
11 changed files with 280 additions and 25 deletions

View File

@@ -12,7 +12,7 @@ func InitWechat() {
AppID: "wx55251c2f83b9fc25",
Secret: "d511800cd53d248afe1260bb8aeed230",
Token: "LDQ20020618xxx",
AESKey: global.CONFIG.Wechat.AESKey,
AESKey: "",
//Log: officialAccount.Log{
// Level: "debug",
// File: "./wechat.log",
@@ -23,7 +23,7 @@ func InitWechat() {
Cache: kernel.NewRedisClient(&kernel.UniversalOptions{
Addrs: []string{global.CONFIG.Redis.Addr()},
Password: global.CONFIG.Redis.Password,
DB: 0,
DB: 2,
}),
})
if err != nil {