This commit is contained in:
aozhiwei 2022-05-19 16:05:14 +08:00
parent 1ef6a9a724
commit b70e3baae8

View File

@ -55,7 +55,7 @@ class BaseController {
{ {
$net = getReqVal('_net', ''); $net = getReqVal('_net', '');
$zid = $net && count($net) > 3 ? $net[2] : 3; $zid = $net && count($net) > 3 ? $net[2] : 3;
return $zid < 1 || $zid > 4 ? 3 : $zid; return ($zid >= 1 && $zid <= 4) ? $zid : 3;
} }
public function _rspErr($errcode, $errmsg) public function _rspErr($errcode, $errmsg)