Explorar o código

过期时间修改

duqinya %!s(int64=6) %!d(string=hai) anos
pai
achega
464e014238
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;