Forráskód Böngészése

过期时间修改

duqinya 6 éve
szülő
commit
464e014238
1 módosított fájl, 1 hozzáadás és 1 törlés
  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;