{"code":0,"msg":"Undefined array key \"HTTP_HOST\"","file":"\/www\/wwwroot\/xingweixun.com\/server\/app\/index\/controller\/IndexController.php","line":35,"trace":"#0 \/www\/wwwroot\/xingweixun.com\/server\/app\/index\/controller\/IndexController.php(35): think\\initializer\\Error->appError()\n#1 [internal function]: app\\index\\controller\\IndexController->index()\n#2 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/framework\/src\/think\/Container.php(344): ReflectionMethod->invokeArgs()\n#3 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/framework\/src\/think\/route\/dispatch\/Controller.php(110): think\\Container->invokeReflectMethod()\n#4 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/framework\/src\/think\/Pipeline.php(59): think\\route\\dispatch\\Controller->think\\route\\dispatch\\{closure}()\n#5 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/framework\/src\/think\/Pipeline.php(66): think\\Pipeline->think\\{closure}()\n#6 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/framework\/src\/think\/route\/dispatch\/Controller.php(113): think\\Pipeline->then()\n#7 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/framework\/src\/think\/route\/Dispatch.php(90): think\\route\\dispatch\\Controller->exec()\n#8 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/framework\/src\/think\/Route.php(785): think\\route\\Dispatch->run()\n#9 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/framework\/src\/think\/Pipeline.php(59): think\\Route->think\\{closure}()\n#10 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/framework\/src\/think\/Pipeline.php(66): think\\Pipeline->think\\{closure}()\n#11 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/framework\/src\/think\/Route.php(786): think\\Pipeline->then()\n#12 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/framework\/src\/think\/Http.php(216): think\\Route->dispatch()\n#13 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/think-swoole\/src\/Http.php(55): think\\Http->dispatchToRoute()\n#14 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/framework\/src\/think\/Http.php(206): think\\swoole\\Http->dispatchToRoute()\n#15 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/framework\/src\/think\/Pipeline.php(59): think\\Http->think\\{closure}()\n#16 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/think-multi-app\/src\/MultiApp.php(71): think\\Pipeline->think\\{closure}()\n#17 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/framework\/src\/think\/Pipeline.php(59): think\\app\\MultiApp->think\\app\\{closure}()\n#18 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/framework\/src\/think\/Pipeline.php(66): think\\Pipeline->think\\{closure}()\n#19 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/think-multi-app\/src\/MultiApp.php(72): think\\Pipeline->then()\n#20 [internal function]: think\\app\\MultiApp->handle()\n#21 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/framework\/src\/think\/Middleware.php(142): call_user_func()\n#22 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/framework\/src\/think\/Pipeline.php(85): think\\Middleware->think\\{closure}()\n#23 \/www\/wwwroot\/xingweixun.com\/server\/app\/common\/http\/middleware\/BaseMiddleware.php(40): think\\Pipeline->think\\{closure}()\n#24 [internal function]: app\\common\\http\\middleware\\BaseMiddleware->handle()\n#25 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/framework\/src\/think\/Middleware.php(142): call_user_func()\n#26 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/framework\/src\/think\/Pipeline.php(85): think\\Middleware->think\\{closure}()\n#27 \/www\/wwwroot\/xingweixun.com\/server\/app\/common\/http\/middleware\/LikeshopAllowMiddleware.php(53): think\\Pipeline->think\\{closure}()\n#28 [internal function]: app\\common\\http\\middleware\\LikeshopAllowMiddleware->handle()\n#29 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/framework\/src\/think\/Middleware.php(142): call_user_func()\n#30 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/framework\/src\/think\/Pipeline.php(85): think\\Middleware->think\\{closure}()\n#31 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/think-swoole\/src\/middleware\/ResetVarDumper.php(28): think\\Pipeline->think\\{closure}()\n#32 [internal function]: think\\swoole\\middleware\\ResetVarDumper->handle()\n#33 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/framework\/src\/think\/Middleware.php(142): call_user_func()\n#34 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/framework\/src\/think\/Pipeline.php(85): think\\Middleware->think\\{closure}()\n#35 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/framework\/src\/think\/Pipeline.php(66): think\\Pipeline->think\\{closure}()\n#36 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/framework\/src\/think\/Http.php(207): think\\Pipeline->then()\n#37 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/framework\/src\/think\/Http.php(170): think\\Http->runWithRequest()\n#38 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/think-swoole\/src\/concerns\/InteractsWithHttp.php(131): think\\Http->run()\n#39 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/think-swoole\/src\/concerns\/InteractsWithHttp.php(115): think\\swoole\\Manager->handleRequest()\n#40 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/framework\/src\/think\/Container.php(294): think\\swoole\\Manager->think\\swoole\\concerns\\{closure}()\n#41 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/framework\/src\/think\/Container.php(358): think\\Container->invokeFunction()\n#42 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/think-swoole\/src\/Sandbox.php(87): think\\Container->invoke()\n#43 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/think-swoole\/src\/concerns\/WithApplication.php(84): think\\swoole\\Sandbox->run()\n#44 \/www\/wwwroot\/xingweixun.com\/server\/vendor\/topthink\/think-swoole\/src\/concerns\/InteractsWithHttp.php(123): think\\swoole\\Manager->runInSandbox()\n#45 [internal function]: think\\swoole\\Manager->onRequest()\n#46 {main}"}