{"message":"controller not exists:app\\controller\\Portal","status":500,"data":[],"debug":{"name":"think\\exception\\HttpException","file":"\/www\/wwwroot\/bobai.gxjinan.com\/vendor\/topthink\/framework\/src\/think\/route\/dispatch\/Controller.php","line":76,"code":0,"message":"控制器不存在:app\\controller\\Portal","trace":[{"file":"\/www\/wwwroot\/bobai.gxjinan.com\/vendor\/topthink\/framework\/src\/think\/route\/Dispatch.php","line":52,"function":"exec","class":"think\\route\\dispatch\\Controller","type":"->"},{"file":"\/www\/wwwroot\/bobai.gxjinan.com\/vendor\/topthink\/framework\/src\/think\/Route.php","line":755,"function":"run","class":"think\\route\\Dispatch","type":"->"},{"file":"\/www\/wwwroot\/bobai.gxjinan.com\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":59,"function":"think\\{closure}","class":"think\\Route","type":"->"},{"file":"\/www\/wwwroot\/bobai.gxjinan.com\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":66,"function":"think\\{closure}","class":"think\\Pipeline","type":"->"},{"file":"\/www\/wwwroot\/bobai.gxjinan.com\/vendor\/topthink\/framework\/src\/think\/Route.php","line":756,"function":"then","class":"think\\Pipeline","type":"->"},{"file":"\/www\/wwwroot\/bobai.gxjinan.com\/vendor\/topthink\/framework\/src\/think\/Http.php","line":208,"function":"dispatch","class":"think\\Route","type":"->"},{"file":"\/www\/wwwroot\/bobai.gxjinan.com\/vendor\/topthink\/framework\/src\/think\/Http.php","line":198,"function":"dispatchToRoute","class":"think\\Http","type":"->"},{"file":"\/www\/wwwroot\/bobai.gxjinan.com\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":59,"function":"think\\{closure}","class":"think\\Http","type":"->"},{"file":"\/www\/wwwroot\/bobai.gxjinan.com\/vendor\/topthink\/think-multi-app\/src\/MultiApp.php","line":46,"function":"think\\{closure}","class":"think\\Pipeline","type":"->"},{"function":"handle","class":"think\\app\\MultiApp","type":"->"},{"file":"\/www\/wwwroot\/bobai.gxjinan.com\/vendor\/topthink\/framework\/src\/think\/Middleware.php","line":134,"function":"call_user_func"},{"file":"\/www\/wwwroot\/bobai.gxjinan.com\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":85,"function":"think\\{closure}","class":"think\\Middleware","type":"->"},{"file":"\/www\/wwwroot\/bobai.gxjinan.com\/cores\/middleware\/AppLog.php","line":45,"function":"think\\{closure}","class":"think\\Pipeline","type":"->"},{"function":"handle","class":"cores\\middleware\\AppLog","type":"->"},{"file":"\/www\/wwwroot\/bobai.gxjinan.com\/vendor\/topthink\/framework\/src\/think\/Middleware.php","line":134,"function":"call_user_func"},{"file":"\/www\/wwwroot\/bobai.gxjinan.com\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":85,"function":"think\\{closure}","class":"think\\Middleware","type":"->"},{"file":"\/www\/wwwroot\/bobai.gxjinan.com\/cores\/middleware\/AllowCrossDomain.php","line":98,"function":"think\\{closure}","class":"think\\Pipeline","type":"->"},{"function":"handle","class":"cores\\middleware\\AllowCrossDomain","type":"->"},{"file":"\/www\/wwwroot\/bobai.gxjinan.com\/vendor\/topthink\/framework\/src\/think\/Middleware.php","line":134,"function":"call_user_func"},{"file":"\/www\/wwwroot\/bobai.gxjinan.com\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":85,"function":"think\\{closure}","class":"think\\Middleware","type":"->"},{"file":"\/www\/wwwroot\/bobai.gxjinan.com\/vendor\/topthink\/framework\/src\/think\/middleware\/SessionInit.php","line":58,"function":"think\\{closure}","class":"think\\Pipeline","type":"->"},{"function":"handle","class":"think\\middleware\\SessionInit","type":"->"},{"file":"\/www\/wwwroot\/bobai.gxjinan.com\/vendor\/topthink\/framework\/src\/think\/Middleware.php","line":134,"function":"call_user_func"},{"file":"\/www\/wwwroot\/bobai.gxjinan.com\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":85,"function":"think\\{closure}","class":"think\\Middleware","type":"->"},{"file":"\/www\/wwwroot\/bobai.gxjinan.com\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":66,"function":"think\\{closure}","class":"think\\Pipeline","type":"->"},{"file":"\/www\/wwwroot\/bobai.gxjinan.com\/vendor\/topthink\/framework\/src\/think\/Http.php","line":199,"function":"then","class":"think\\Pipeline","type":"->"},{"file":"\/www\/wwwroot\/bobai.gxjinan.com\/vendor\/topthink\/framework\/src\/think\/Http.php","line":162,"function":"runWithRequest","class":"think\\Http","type":"->"},{"file":"\/www\/wwwroot\/bobai.gxjinan.com\/public\/index.php","line":15,"function":"run","class":"think\\Http","type":"->"}],"source":{"first":67,"source":[" ->setAction($this->actionName);\n"," }\n","\n"," public function exec()\n"," {\n"," try {\n"," \/\/ 实例化控制器\n"," $instance = $this->controller($this->controller);\n"," } catch (ClassNotFoundException $e) {\n"," throw new HttpException(404, 'controller not exists:' . $e->getClass());\n"," }\n","\n"," \/\/ 注册控制器中间件\n"," $this->registerControllerMiddleware($instance);\n","\n"," return $this->app->middleware->pipeline('controller')\n"," ->send($this->request)\n"," ->then(function () use ($instance) {\n"," \/\/ 获取当前操作名\n"]}}}