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