|
|
@@ -261,10 +261,10 @@ class CustomController extends BaseController
|
|
|
$cacheKey = 'help_custom_recharge_' . $customId;
|
|
|
$has = Yii::$app->redis->executeCommand('GET', [$cacheKey]);
|
|
|
if (!empty($has)) {
|
|
|
- util::fail('已充值,请15秒后再操作');
|
|
|
+ util::fail('已充值,请8秒后再操作');
|
|
|
return false;
|
|
|
}
|
|
|
- Yii::$app->redis->executeCommand('SETEX', [$cacheKey, 15, 'has']);
|
|
|
+ Yii::$app->redis->executeCommand('SETEX', [$cacheKey, 8, 'has']);
|
|
|
|
|
|
$custom = CustomClass::getLockById($customId);
|
|
|
if (empty($custom)) {
|
|
|
@@ -335,9 +335,9 @@ class CustomController extends BaseController
|
|
|
$cacheKey = 'help_custom_deduct_' . $customId;
|
|
|
$has = Yii::$app->redis->executeCommand('GET', [$cacheKey]);
|
|
|
if (!empty($has)) {
|
|
|
- util::fail('已操作,请15秒后再试');
|
|
|
+ util::fail('已操作,请8秒后再试');
|
|
|
}
|
|
|
- Yii::$app->redis->executeCommand('SETEX', [$cacheKey, 15, 'has']);
|
|
|
+ Yii::$app->redis->executeCommand('SETEX', [$cacheKey, 8, 'has']);
|
|
|
|
|
|
$pair = GhsRechargeSettleService::lockAccountPair(['id' => $customId]);
|
|
|
$custom = $pair['custom'];
|
|
|
@@ -1444,4 +1444,4 @@ class CustomController extends BaseController
|
|
|
|
|
|
util::success(['buyAmount' => $buyAmount]);
|
|
|
}
|
|
|
-}
|
|
|
+}
|