/** * 聊天室主页面 */ public function index() { $user = LoginService::checkLogin(); $this->out['user'] = $user; }