这是 GitHub 地址:
https://github.com/assimon/dujiaoka我是用的是
bt.cn 中国的宝塔在阿里云服务器环境部署,所有跟着操作进行了一遍之后,发现我连后台都进不去,这个会不会是和我的 laravel 日志有关?
[2024-11-28 21:55:00] local.ERROR: Command "dujiao" is not defined. {"exception":"[object] (Symfony\\Component\\Console\\Exception\\CommandNotFoundException(code: 0): Command \"dujiao\" is not defined. at /www/wwwroot/
dujiaoshou561.com/dujiaoka/vendor/symfony/console/Application.php:676)
[stacktrace]
#0 /www/wwwroot/
dujiaoshou561.com/dujiaoka/vendor/symfony/console/Application.php(237): Symfony\\Component\\Console\\Application->find()
#1 /www/wwwroot/
dujiaoshou561.com/dujiaoka/vendor/symfony/console/Application.php(149): Symfony\\Component\\Console\\Application->doRun()
#2 /www/wwwroot/
dujiaoshou561.com/dujiaoka/vendor/laravel/framework/src/Illuminate/Console/Application.php(93): Symfony\\Component\\Console\\Application->run()
#3 /www/wwwroot/
dujiaoshou561.com/dujiaoka/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(131): Illuminate\\Console\\Application->run()
#4 /www/wwwroot/
dujiaoshou561.com/dujiaoka/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle()
#5 {main}
"}
[2024-11-29 09:44:32] local.ERROR: Unable to prepare route [api/user] for serialization. Uses Closure. {"exception":"[object] (LogicException(code: 0): Unable to prepare route [api/user] for serialization. Uses Closure. at /www/wwwroot/
dujiaoshou561.com/vendor/laravel/framework/src/Illuminate/Routing/Route.php:917)
[stacktrace]
#0 /www/wwwroot/
dujiaoshou561.com/vendor/laravel/framework/src/Illuminate/Foundation/Console/RouteCacheCommand.php(62): Illuminate\\Routing\\Route->prepareForSerialization()
#1 /www/wwwroot/
dujiaoshou561.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Foundation\\Console\\RouteCacheCommand->handle()
#2 /www/wwwroot/
dujiaoshou561.com/vendor/laravel/framework/src/Illuminate/Container/Util.php(37): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#3 /www/wwwroot/
dujiaoshou561.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure()
#4 /www/wwwroot/
dujiaoshou561.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()
#5 /www/wwwroot/
dujiaoshou561.com/vendor/laravel/framework/src/Illuminate/Container/Container.php(590): Illuminate\\Container\\BoundMethod::call()
#6 /www/wwwroot/
dujiaoshou561.com/vendor/laravel/framework/src/Illuminate/Console/Command.php(134): Illuminate\\Container\\Container->call()
#7 /www/wwwroot/
dujiaoshou561.com/vendor/symfony/console/Command/Command.php(255): Illuminate\\Console\\Command->execute()
#8 /www/wwwroot/
dujiaoshou561.com/vendor/laravel/framework/src/Illuminate/Console/Command.php(121): Symfony\\Component\\Console\\Command\\Command->run()
#9 /www/wwwroot/
dujiaoshou561.com/vendor/symfony/console/Application.php(1009): Illuminate\\Console\\Command->run()
#10 /www/wwwroot/
dujiaoshou561.com/vendor/symfony/console/Application.php(273): Symfony\\Component\\Console\\Application->doRunCommand()
#11 /www/wwwroot/
dujiaoshou561.com/vendor/symfony/console/Application.php(149): Symfony\\Component\\Console\\Application->doRun()
#12 /www/wwwroot/
dujiaoshou561.com/vendor/laravel/framework/src/Illuminate/Console/Application.php(93): Symfony\\Component\\Console\\Application->run()
#13 /www/wwwroot/
dujiaoshou561.com/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(131): Illuminate\\Console\\Application->run()
#14 /www/wwwroot/
dujiaoshou561.com/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle()
#15 {main}
"}