code: protected function verifyAuth()
      {
          if (! AuthLogic::isAuthAction($this->user_id)) {
              $content = $this->error('你没有权限访问该页面');
              responseReturn($content, 'text');
          }
      }
docs: 验证权限