{"message":"controller not exists:app\\controller\\Sitemap","status":500,"data":[],"debug":{"name":"think\\exception\\HttpException","file":"C:\\wwwroot\\yhl-shop\\vendor\\topthink\\framework\\src\\think\\route\\dispatch\\Controller.php","line":76,"code":0,"message":"控制器不存在:app\\controller\\Sitemap","trace":[{"file":"C:\\wwwroot\\yhl-shop\\vendor\\topthink\\framework\\src\\think\\route\\Dispatch.php","line":90,"function":"exec","class":"think\\route\\dispatch\\Controller","type":"->","args":[]},{"file":"C:\\wwwroot\\yhl-shop\\vendor\\topthink\\framework\\src\\think\\Route.php","line":785,"function":"run","class":"think\\route\\Dispatch","type":"->","args":[]},{"file":"C:\\wwwroot\\yhl-shop\\vendor\\topthink\\framework\\src\\think\\Pipeline.php","line":59,"function":"think\\{closure}","class":"think\\Route","type":"->","args":[{}]},{"file":"C:\\wwwroot\\yhl-shop\\vendor\\topthink\\framework\\src\\think\\Pipeline.php","line":66,"function":"think\\{closure}","class":"think\\Pipeline","type":"->","args":[{}]},{"file":"C:\\wwwroot\\yhl-shop\\vendor\\topthink\\framework\\src\\think\\Route.php","line":786,"function":"then","class":"think\\Pipeline","type":"->","args":[{}]},{"file":"C:\\wwwroot\\yhl-shop\\vendor\\topthink\\framework\\src\\think\\Http.php","line":216,"function":"dispatch","class":"think\\Route","type":"->","args":[{},{}]},{"file":"C:\\wwwroot\\yhl-shop\\vendor\\topthink\\framework\\src\\think\\Http.php","line":206,"function":"dispatchToRoute","class":"think\\Http","type":"->","args":[{}]},{"file":"C:\\wwwroot\\yhl-shop\\vendor\\topthink\\framework\\src\\think\\Pipeline.php","line":59,"function":"think\\{closure}","class":"think\\Http","type":"->","args":[{}]},{"file":"C:\\wwwroot\\yhl-shop\\vendor\\topthink\\think-multi-app\\src\\MultiApp.php","line":65,"function":"think\\{closure}","class":"think\\Pipeline","type":"->","args":[{}]},{"function":"handle","class":"think\\app\\MultiApp","type":"->","args":[{},{}]},{"file":"C:\\wwwroot\\yhl-shop\\vendor\\topthink\\framework\\src\\think\\Middleware.php","line":142,"function":"call_user_func","args":[[{},"handle"],{},{}]},{"file":"C:\\wwwroot\\yhl-shop\\vendor\\topthink\\framework\\src\\think\\Pipeline.php","line":85,"function":"think\\{closure}","class":"think\\Middleware","type":"->","args":[{},{}]},{"file":"C:\\wwwroot\\yhl-shop\\cores\\middleware\\AppLog.php","line":43,"function":"think\\{closure}","class":"think\\Pipeline","type":"->","args":[{}]},{"function":"handle","class":"cores\\middleware\\AppLog","type":"->","args":[{},{}]},{"file":"C:\\wwwroot\\yhl-shop\\vendor\\topthink\\framework\\src\\think\\Middleware.php","line":142,"function":"call_user_func","args":[[{},"handle"],{},{}]},{"file":"C:\\wwwroot\\yhl-shop\\vendor\\topthink\\framework\\src\\think\\Pipeline.php","line":85,"function":"think\\{closure}","class":"think\\Middleware","type":"->","args":[{},{}]},{"file":"C:\\wwwroot\\yhl-shop\\cores\\middleware\\AllowCrossDomain.php","line":98,"function":"think\\{closure}","class":"think\\Pipeline","type":"->","args":[{}]},{"function":"handle","class":"cores\\middleware\\AllowCrossDomain","type":"->","args":[{},{}]},{"file":"C:\\wwwroot\\yhl-shop\\vendor\\topthink\\framework\\src\\think\\Middleware.php","line":142,"function":"call_user_func","args":[[{},"handle"],{},{}]},{"file":"C:\\wwwroot\\yhl-shop\\vendor\\topthink\\framework\\src\\think\\Pipeline.php","line":85,"function":"think\\{closure}","class":"think\\Middleware","type":"->","args":[{},{}]},{"file":"C:\\wwwroot\\yhl-shop\\vendor\\topthink\\framework\\src\\think\\Pipeline.php","line":66,"function":"think\\{closure}","class":"think\\Pipeline","type":"->","args":[{}]},{"file":"C:\\wwwroot\\yhl-shop\\vendor\\topthink\\framework\\src\\think\\Http.php","line":207,"function":"then","class":"think\\Pipeline","type":"->","args":[{}]},{"file":"C:\\wwwroot\\yhl-shop\\vendor\\topthink\\framework\\src\\think\\Http.php","line":170,"function":"runWithRequest","class":"think\\Http","type":"->","args":[{}]},{"file":"C:\\wwwroot\\yhl-shop\\public\\index.php","line":15,"function":"run","class":"think\\Http","type":"->","args":[]}],"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"]}}}