shish 2 лет назад
Родитель
Сommit
5019e571d6
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      app-ghs/controllers/CustomController.php

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

@@ -98,10 +98,10 @@ class CustomController extends BaseController
         $cacheKey = 'help_custom_recharge_' . $customId;
         $cacheKey = 'help_custom_recharge_' . $customId;
         $has = Yii::$app->redis->executeCommand('GET', [$cacheKey]);
         $has = Yii::$app->redis->executeCommand('GET', [$cacheKey]);
         if (!empty($has)) {
         if (!empty($has)) {
-            util::fail('已提交充值,请10秒后再试');
+            util::fail('已充值,请15秒后再操作');
             return false;
             return false;
         }
         }
-        Yii::$app->redis->executeCommand('SETEX', [$cacheKey, 10, 'has']);
+        Yii::$app->redis->executeCommand('SETEX', [$cacheKey, 15, 'has']);
 
 
         $custom = CustomClass::getLockById($customId);
         $custom = CustomClass::getLockById($customId);
         if (empty($custom)) {
         if (empty($custom)) {