{"msg":"controller not exists:app\\controller\\Sitemap","code":0,"data":[],"debug":{"name":"think\\exception\\HttpException","file":"\/www\/wwwroot\/www.elanhui.com\/vendor\/topthink\/framework\/src\/think\/route\/dispatch\/Controller.php","line":85,"code":0,"msg":"控制器不存在:app\\controller\\Sitemap","trace":[{"file":"\/www\/wwwroot\/www.elanhui.com\/vendor\/topthink\/framework\/src\/think\/route\/Dispatch.php","line":56,"function":"exec","class":"think\\route\\dispatch\\Controller","type":"->"},{"file":"\/www\/wwwroot\/www.elanhui.com\/vendor\/topthink\/framework\/src\/think\/Route.php","line":713,"function":"run","class":"think\\route\\Dispatch","type":"->"},{"file":"\/www\/wwwroot\/www.elanhui.com\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":59,"function":"think\\{closure}","class":"think\\Route","type":"->"},{"file":"\/www\/wwwroot\/www.elanhui.com\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":66,"function":"think\\{closure}","class":"think\\Pipeline","type":"->"},{"file":"\/www\/wwwroot\/www.elanhui.com\/vendor\/topthink\/framework\/src\/think\/Route.php","line":712,"function":"then","class":"think\\Pipeline","type":"->"},{"file":"\/www\/wwwroot\/www.elanhui.com\/vendor\/topthink\/framework\/src\/think\/Http.php","line":208,"function":"dispatch","class":"think\\Route","type":"->"},{"file":"\/www\/wwwroot\/www.elanhui.com\/vendor\/topthink\/framework\/src\/think\/Http.php","line":198,"function":"dispatchToRoute","class":"think\\Http","type":"->"},{"file":"\/www\/wwwroot\/www.elanhui.com\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":59,"function":"think\\{closure}","class":"think\\Http","type":"->"},{"file":"\/www\/wwwroot\/www.elanhui.com\/vendor\/topthink\/think-multi-app\/src\/MultiApp.php","line":45,"function":"think\\{closure}","class":"think\\Pipeline","type":"->"},{"function":"handle","class":"think\\app\\MultiApp","type":"->"},{"file":"\/www\/wwwroot\/www.elanhui.com\/vendor\/topthink\/framework\/src\/think\/Middleware.php","line":134,"function":"call_user_func"},{"file":"\/www\/wwwroot\/www.elanhui.com\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":85,"function":"think\\{closure}","class":"think\\Middleware","type":"->"},{"file":"\/www\/wwwroot\/www.elanhui.com\/cores\/middleware\/AppLog.php","line":36,"function":"think\\{closure}","class":"think\\Pipeline","type":"->"},{"function":"handle","class":"cores\\middleware\\AppLog","type":"->"},{"file":"\/www\/wwwroot\/www.elanhui.com\/vendor\/topthink\/framework\/src\/think\/Middleware.php","line":134,"function":"call_user_func"},{"file":"\/www\/wwwroot\/www.elanhui.com\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":85,"function":"think\\{closure}","class":"think\\Middleware","type":"->"},{"file":"\/www\/wwwroot\/www.elanhui.com\/cores\/middleware\/AllowCrossDomain.php","line":91,"function":"think\\{closure}","class":"think\\Pipeline","type":"->"},{"function":"handle","class":"cores\\middleware\\AllowCrossDomain","type":"->"},{"file":"\/www\/wwwroot\/www.elanhui.com\/vendor\/topthink\/framework\/src\/think\/Middleware.php","line":134,"function":"call_user_func"},{"file":"\/www\/wwwroot\/www.elanhui.com\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":85,"function":"think\\{closure}","class":"think\\Middleware","type":"->"},{"file":"\/www\/wwwroot\/www.elanhui.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\/www.elanhui.com\/vendor\/topthink\/framework\/src\/think\/Middleware.php","line":134,"function":"call_user_func"},{"file":"\/www\/wwwroot\/www.elanhui.com\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":85,"function":"think\\{closure}","class":"think\\Middleware","type":"->"},{"file":"\/www\/wwwroot\/www.elanhui.com\/vendor\/topthink\/think-trace\/src\/TraceDebug.php","line":71,"function":"think\\{closure}","class":"think\\Pipeline","type":"->"},{"function":"handle","class":"think\\trace\\TraceDebug","type":"->"},{"file":"\/www\/wwwroot\/www.elanhui.com\/vendor\/topthink\/framework\/src\/think\/Middleware.php","line":134,"function":"call_user_func"},{"file":"\/www\/wwwroot\/www.elanhui.com\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":85,"function":"think\\{closure}","class":"think\\Middleware","type":"->"},{"file":"\/www\/wwwroot\/www.elanhui.com\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":66,"function":"think\\{closure}","class":"think\\Pipeline","type":"->"},{"file":"\/www\/wwwroot\/www.elanhui.com\/vendor\/topthink\/framework\/src\/think\/Http.php","line":197,"function":"then","class":"think\\Pipeline","type":"->"},{"file":"\/www\/wwwroot\/www.elanhui.com\/vendor\/topthink\/framework\/src\/think\/Http.php","line":162,"function":"runWithRequest","class":"think\\Http","type":"->"},{"file":"\/www\/wwwroot\/www.elanhui.com\/public\/index.php","line":21,"function":"run","class":"think\\Http","type":"->"}],"source":{"first":76,"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","        return $this->responseWithMiddlewarePipeline($instance, $this->actionName);\n","    }\n","\n","    \/**\n","     * 实例化访问控制器\n","     * @access public\n","     * @param string $name 资源地址\n"]}}}