shish 3 лет назад
Родитель
Сommit
95a89c8e20
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app-hd/controllers/NoticeController.php

+ 1 - 1
app-hd/controllers/NoticeController.php

@@ -58,7 +58,7 @@ class NoticeController extends PublicController
             $cacheKey = 'hd_shop_cg_pay_' . $orderSn;
             $has = Yii::$app->redis->executeCommand('GET', [$cacheKey]);
             if (empty($has)) {
-                Yii::$app->redis->executeCommand('SETEX', [$cacheKey, 300, 'has']);
+                Yii::$app->redis->executeCommand('SETEX', [$cacheKey, 864000, 'has']);
                 $cg = PurchaseClass::getByCondition(['orderSn' => $orderSn], true);
                 if (!empty($cg)) {
                     //微信通知