shish 2 년 전
부모
커밋
4eea49b185
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      app-ghs/controllers/RenewController.php

+ 2 - 2
app-ghs/controllers/RenewController.php

@@ -60,11 +60,11 @@ class RenewController extends BaseController
         $time = 86400;
         $time = 86400;
         if (getenv('YII_ENV') == 'production') {
         if (getenv('YII_ENV') == 'production') {
             if ($mainId == 7704) {
             if ($mainId == 7704) {
-                $time = 14400;
+                $time = 10000;
             }
             }
         } else {
         } else {
             if ($mainId == 644) {
             if ($mainId == 644) {
-                $time = 10;
+                $time = 86400;
             }
             }
         }
         }
         Yii::$app->redis->executeCommand('SETEX', [$cacheKey, $time, 'has']);
         Yii::$app->redis->executeCommand('SETEX', [$cacheKey, $time, 'has']);