wesmiler 6 anos atrás
pai
commit
a17ada9a79
1 arquivos alterados com 1 adições e 1 exclusões
  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(){
     public function sitemap(){
         $page = input('p', 1);
         $page = input('p', 1);
-        $cacheKey = 'sitemap:list_';
+        $cacheKey = 'cache:sitemap:list_';
         $datas = RedisService::get($cacheKey.$page);
         $datas = RedisService::get($cacheKey.$page);
         if(empty($datas)){
         if(empty($datas)){
             $dataList = CategoryService::getCates(500, -1, "enname as id, catname as title, '1' as 'type'");
             $dataList = CategoryService::getCates(500, -1, "enname as id, catname as title, '1' as 'type'");