tp5的 路由配置后访问url 为什么要跳转

浏览:943 发布日期:2018/11/08 分类:ThinkPHP5专区
tp5的 路由配置后访问url 为什么要跳转

我配置了 http://localhost/news 结果 配置好路由后,访问结果他自动跳转到

http://localhost/index/index/news ,这不是我要的效果,URL怎么样才能不变!tp5 那么low 的么路由,那我配置http://localhost/news 有什么意义!最终还是访问了http://localhost/index/index/news


最佳答案
评论( 相关
后面还有条评论,点击查看>>