diff --git a/service/wechat/wechat.go b/service/wechat/wechat.go index b94b309..669149c 100644 --- a/service/wechat/wechat.go +++ b/service/wechat/wechat.go @@ -42,7 +42,7 @@ func New(cfg Config) *Service { AppSecret: cfg.AppSecret, Token: cfg.Token, EncodingAESKey: cfg.EncodingAESKey, - Cache: cache.NewMemory(), + Cache: cfg.Cache, } account := wc.GetOfficialAccount(wcCfg)