wesmiler 5 лет назад
Родитель
Сommit
a17ada9a79
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/index/controller/IndexController.php

+ 1 - 1
app/index/controller/IndexController.php

@@ -239,7 +239,7 @@ class IndexController extends HomeBaseController
      */
     public function sitemap(){
         $page = input('p', 1);
-        $cacheKey = 'sitemap:list_';
+        $cacheKey = 'cache:sitemap:list_';
         $datas = RedisService::get($cacheKey.$page);
         if(empty($datas)){
             $dataList = CategoryService::getCates(500, -1, "enname as id, catname as title, '1' as 'type'");