Browse Source

过期时间修改

duqinya 6 years ago
parent
commit
464e014238
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Repositories/CmsContentTemplateSetRepository.php

+ 1 - 1
app/Repositories/CmsContentTemplateSetRepository.php

@@ -140,7 +140,7 @@ class CmsContentTemplateSetRepository
             $group_array['content'][2]['rule'] = $new_rule2;
 
             if (!Cache::has($group_key)) {
-                Cache::store('redis')->put($group_key, $group_array, 1);
+                Cache::store('redis')->put($group_key, $group_array, 600);
             }
         }
         return $group_array;