shish 4 лет назад
Родитель
Сommit
dd35e9d66d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      common/components/util.php

+ 1 - 1
common/components/util.php

@@ -402,7 +402,7 @@ class util
         if (!empty($has)) {
             util::fail('请稍候...');
         }
-        Yii::$app->redis->executeCommand('SETEX', [$cacheKey, 4, 'has']);
+        Yii::$app->redis->executeCommand('SETEX', [$cacheKey, 30, 'has']);
     }
 
 }