[think\exception\ErrorException]
Uncaught exception 'think\Exception' with message 'method not exists:think\Request->withHeader' in /home/wwwroot/tp5/thinkphp/library/think/Request.php:329
Stack trace:
#0 /home/wwwroot/tp5/vendor/topthink/think-swoole/src/Application.php(48): think\Request->__call('withHeader', Array)
#1 /home/wwwroot/tp5/vendor/topthink/think-swoole/src/Application.php(48): think\Request->withHeader(Array)
#2 /home/wwwroot/tp5/vendor/topthink/think-swoole/src/Http.php(127): think\swoole\Application->swoole(ob
#3 [internal function]: think\swoole\Http->onRequest(ob
#4 [internal function]: swoole_http_server->start()
#5 /home/wwwroot/tp5/vendor/topthink/think-swoole/src/Server.php(121): call_user_func_array(Array, Array)
#6 /home/wwwroot/tp5/vendor/topthink/think-swoole/src/command/Swoole.php(110): think\swoole\Server->__call('start', Array)
#7 /home/wwwroot/tp5/vendor/topthink/think-swoole/src/command/Swoole.php(11
最佳答案