laravel5搭建到了宝塔上api正常,但是后台模板地址View [admin.login] not found.




这是什么原因呢?路由还是伪静态,应该怎么解决

《L03 构架 API 服务器》
你将学到如 RESTFul 设计风格、PostMan 的使用、OAuth 流程,JWT 概念及使用 和 API 开发相关的进阶知识。
《G01 Go 实战入门》
从零开始带你一步步开发一个 Go 博客项目,让你在最短的时间内学会使用 Go 进行编码。项目结构很大程度上参考了 Laravel。
最佳答案

已经找到解决方法 1、清除应用程序缓存 php artisan cache:clear 2、清除清除路由缓存缓存 php artisan route:cache 3、清除配置缓存 php artisan config:cache 4、清除已编译的视图文件 php artisan view:clear

4年前 评论
讨论数量: 2

检查是否设置路由

4年前 评论
sanxun_98 (楼主) 4年前
sanxun_98 (楼主) 4年前
kkokk (作者) 4年前
sanxun_98 (楼主) 4年前
kkokk (作者) 4年前
sanxun_98 (楼主) 4年前
sanxun_98 (楼主) 4年前

已经找到解决方法 1、清除应用程序缓存 php artisan cache:clear 2、清除清除路由缓存缓存 php artisan route:cache 3、清除配置缓存 php artisan config:cache 4、清除已编译的视图文件 php artisan view:clear

4年前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!