关于thinkphp5.0.11路由问题求助

浏览:317 发布日期:2017/09/21 分类:ThinkPHP5专区
我在route.php文件中写了两条规则表达式:
'/' => 'home/Index/index',
'admin' => 'admin/Index/index',
现在我用:localhost/education可以访问localhost/education/home/Index/index
但是换成localhost/education/admin之后就不可以访问localhost/education/admin/Index/index。
刚接触编程不久,请各位前辈指点。
最佳答案
评论( 相关
后面还有条评论,点击查看>>