mead 4 月之前
父節點
當前提交
9f1de437e2
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/Support/Traits/WeChat.php

+ 2 - 2
app/Support/Traits/WeChat.php

@@ -22,8 +22,8 @@ trait WeChat
     public static function getApp($account_name){
         $account = self::getAccount($account_name);
         $app = Factory::officialAccount($account['settings']);
-        $cache = new RedisAdapter(app('redis')->connection()->client());
-        $app->rebind('cache', $cache);
+//        $cache = new RedisAdapter(app('redis')->connection()->client());
+//        $app->rebind('cache', $cache);
         return $app;
     }