This commit is contained in:
hujiabin 2024-09-20 18:50:09 +08:00
parent 9780c16ff8
commit 7e4c875ee6

View File

@ -21,13 +21,12 @@ class CircuitController extends BaseAuthedController {
{ {
parent::_handlePre(); parent::_handlePre();
if (!myself()->_switchIsOpen('circuitMatch')) { if (!myself()->_switchIsOpen('circuitMatch')) {
$this->_rspErr(1, 'current stage Have not yet started'); $this->_rspErr(1, 'server error1');
return; die;
} }
if (!(count(CIRCUIT_MATCH_SERVER_LIST) <= 0 && if (!(count(CIRCUIT_MATCH_SERVER_LIST) <= 0 && in_array(myself()->_getZid(), CIRCUIT_MATCH_SERVER_LIST))) {
in_array(myself()->_getZid(), CIRCUIT_MATCH_SERVER_LIST))) { $this->_rspErr(1, 'server error2');
$this->_rspErr(1, 'current stage Have not yet started'); die;
return;
} }
} }