wesmiler 2 mesi fa
parent
commit
33d4d35a90
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/Services/Api/ArticleService.php

+ 1 - 1
app/Services/Api/ArticleService.php

@@ -177,7 +177,7 @@ class ArticleService extends BaseService
         $cacheKey = "caches:articles:indexList_{$type}";
         $cacheKey = "caches:articles:indexList_{$type}";
         $datas = RedisService::get($cacheKey);
         $datas = RedisService::get($cacheKey);
         if($datas){
         if($datas){
-//            return $datas;
+            return $datas;
         }
         }
 
 
         $limit = ConfigService::make()->getConfigByCode('index_article_num',3);
         $limit = ConfigService::make()->getConfigByCode('index_article_num',3);