request->getServerParam('HTTP_AUTHORIZATION'); if (!empty($authorization)) { self::getUserIdByAuthorization(); } $this->objMClassSetting = new MClassSetting($this->onlineUserId, $this->onlineEnterpriseId); } /** * 获取分类设置 */ public function getClassSettingInfo() { $selectParams = [ 'enterpriseId' => $this->onlineEnterpriseId, ]; $modelResult = $this->objMClassSetting->getClassSettingInfo($selectParams); if (!$modelResult->isSuccess()) { parent::sendOutput($modelResult->getData(), $modelResult->getErrorCode()); } parent::sendOutput($modelResult->getData()); } }