mead 4 달 전
부모
커밋
c028992cc7
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      app/Support/Traits/WeChat.php

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

@@ -25,8 +25,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;
     }