From d14a89c1226fc201e5ab7eb2b81c06fce5145adc Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sat, 31 Aug 2019 19:54:13 +0800 Subject: [PATCH] 1 --- webapp/controller/ServerSwitchController.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webapp/controller/ServerSwitchController.class.php b/webapp/controller/ServerSwitchController.class.php index 1bbe3b7..a7f71f9 100644 --- a/webapp/controller/ServerSwitchController.class.php +++ b/webapp/controller/ServerSwitchController.class.php @@ -75,7 +75,7 @@ class ServerSwitchController { $nowtime = phpcommon\getdayseconds($nowtime); if ($nowtime - $register_time > 3600 * 24 * 2) { //第三天 - if ($_REQUEST['battle_times'] >= 5) { + if ($_REQUEST['battle_times'] >= 2) { $payable = 1; } else if ($recharge_times > 0 && $_REQUEST['battle_times'] >= 1) { $payable = 1; @@ -84,7 +84,7 @@ class ServerSwitchController { //第二天 if ($this->isForbidCity()) { } else { - if ($_REQUEST['battle_times'] >= 5) { + if ($_REQUEST['battle_times'] >= 2) { $payable = 1; } else if ($recharge_times > 0 && $_REQUEST['battle_times'] >= 2) { $payable = 1; @@ -93,7 +93,7 @@ class ServerSwitchController { } else { //第一天 if ($this->isForbidCity()) { - } else if ($_REQUEST['battle_times'] >= 5) { + } else if ($_REQUEST['battle_times'] >= 3) { $payable = 1; } }