From 76badbe9bcd3a6045a2339b6f1a2627dff20aee4 Mon Sep 17 00:00:00 2001 From: cdle <798731886@qq.com> Date: Mon, 20 Sep 2021 17:22:08 +0800 Subject: [PATCH] update --- im/wxmp/init.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/im/wxmp/init.go b/im/wxmp/init.go index ad4e017..795ac61 100644 --- a/im/wxmp/init.go +++ b/im/wxmp/init.go @@ -18,11 +18,11 @@ func init() { wc := wechat.NewWechat() memory := cache.NewMemory() cfg := &offConfig.Config{ - AppID: wxmp.Get("app_id"), - AppSecret: wxmp.Get("app_secret"), - Token: wxmp.Get("token"), - EncodingAESKey: wxmp.Get("encoding_aes_key"), - Cache: memory, + AppID: wxmp.Get("app_id"), + AppSecret: wxmp.Get("app_secret"), + Token: wxmp.Get("token"), + // EncodingAESKey: wxmp.Get("encoding_aes_key"), + Cache: memory, } officialAccount := wc.GetOfficialAccount(cfg) server := officialAccount.GetServer(c.Request, c.Writer)