1
This commit is contained in:
parent
f69bec1c89
commit
e04bb05363
@ -74,16 +74,16 @@ class ServerSwitchController {
|
|||||||
$nowtime = phpcommon\getdayseconds($nowtime);
|
$nowtime = phpcommon\getdayseconds($nowtime);
|
||||||
if ($nowtime - $register_time > 3600 * 24 * 2) {
|
if ($nowtime - $register_time > 3600 * 24 * 2) {
|
||||||
//第三天
|
//第三天
|
||||||
if ($_REQUEST['battle_times'] >= 7) {
|
if ($_REQUEST['battle_times'] >= 5) {
|
||||||
$payable = 1;
|
$payable = 1;
|
||||||
} else if ($recharge_times > 0 && $_REQUEST['battle_times'] >= 2) {
|
} else if ($recharge_times > 0 && $_REQUEST['battle_times'] >= 1) {
|
||||||
$payable = 1;
|
$payable = 1;
|
||||||
}
|
}
|
||||||
} else if ($nowtime - $register_time > 3600 * 24 * 1) {
|
} else if ($nowtime - $register_time > 3600 * 24 * 1) {
|
||||||
//第二天
|
//第二天
|
||||||
if ($this->isForbidCity()) {
|
if ($this->isForbidCity()) {
|
||||||
} else {
|
} else {
|
||||||
if ($_REQUEST['battle_times'] >= 7) {
|
if ($_REQUEST['battle_times'] >= 5) {
|
||||||
$payable = 1;
|
$payable = 1;
|
||||||
} else if ($recharge_times > 0 && $_REQUEST['battle_times'] >= 2) {
|
} else if ($recharge_times > 0 && $_REQUEST['battle_times'] >= 2) {
|
||||||
$payable = 1;
|
$payable = 1;
|
||||||
@ -92,7 +92,7 @@ class ServerSwitchController {
|
|||||||
} else {
|
} else {
|
||||||
//第一天
|
//第一天
|
||||||
if ($this->isForbidCity()) {
|
if ($this->isForbidCity()) {
|
||||||
} else if ($_REQUEST['battle_times'] >= 7) {
|
} else if ($_REQUEST['battle_times'] >= 5) {
|
||||||
$payable = 1;
|
$payable = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user