路由绑定模块bug

浏览:479 发布日期:2016/08/22 分类:ThinkPHP5专区
如果我在入口文件index.php绑定了模块index
\think\Route::bind("index");
\think\App::run()->send();
那么在index模块下使用url("index/my@user")
此时生成的url为:http://user.xxx.com/my.html。直接将index给去掉了,找不到控制了!正常有应该是http://user.xxx.com/index/my.html
最佳答案
评论( 相关
后面还有条评论,点击查看>>