From f882b8718d4cb11d0b77ab92d97046d8387c59e9 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 7 Jun 2022 18:51:41 +0800 Subject: [PATCH] 1 --- webapp/controller/ServerSwitchController.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webapp/controller/ServerSwitchController.class.php b/webapp/controller/ServerSwitchController.class.php index 3dad7b90..1a13e86f 100644 --- a/webapp/controller/ServerSwitchController.class.php +++ b/webapp/controller/ServerSwitchController.class.php @@ -5,6 +5,9 @@ class ServerSwitchController extends BaseAuthedController { public function getSwitch() { $openList = array(); + if (myself()->_getNowTime() > 1654704480) { + array_push($openList, 1); + } myself()->_rspData(array( 'open_list' => $openList ));