This commit is contained in:
aozhiwei 2024-08-20 16:45:30 +08:00
parent 7e9d891078
commit 58a32c51f3

View File

@ -51,6 +51,10 @@ class ServerSwitchService {
die();
}
public static function switchIsOpen($name) {
return self::getConfig()[$name] > 0;
}
// private $switchConfig = null;
//
// private function initConfig(){