Inheritance: extends think\Controller
 public function _initialize()
 {
     parent::_initialize();
     if (!checkAdmin(3)) {
         $this->error('请先登陆管理员账号!');
     }
 }
 public function _initialize()
 {
     parent::_initialize();
     if (!$this->isTeacher()) {
         $this->echoError('请先登陆管理员账号!');
     }
 }
 public function _initialize()
 {
     parent::_initialize();
     $this->preExamQuestion();
     $this->initExamQuestionCount();
     $this->initExamUserScore();
     $this->addExamBaseInfo();
 }
 public function _initialize()
 {
     parent::_initialize();
 }
 public function _initialize()
 {
     $this->isNeedLogin = true;
     parent::_initialize();
     $this->initPrivilegeType();
 }
 public function _initialize()
 {
     $this->isNeedLogin = true;
     parent::_initialize();
 }