From 58e35520741eee57e921d58192f67a7f95525c64 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 20 Aug 2024 16:46:10 +0800 Subject: [PATCH] 1 --- webapp/controller/BaseController.class.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/webapp/controller/BaseController.class.php b/webapp/controller/BaseController.class.php index 18596580..55438c5f 100644 --- a/webapp/controller/BaseController.class.php +++ b/webapp/controller/BaseController.class.php @@ -410,6 +410,10 @@ class BaseController { myself()->_callServiceStatic('ServerSwitchService', 'verifySwitch', $name); } + public static function _switchIsOpen($name) { + myself()->_callServiceStatic('ServerSwitchService', 'switchIsOpen', $name); + } + public function _mergeAlikeItemKey($items){ $hashItems = array(); foreach ($items as $item){