路由相关问题求助大佬了!!!!

浏览:168 发布日期:2018/09/10 分类:求助交流
我配置了index模块和m模块,各自对应pc端和移动端,域名为www.tp.com和m.tp.com,在路由里配置了
Route::domain('m','m');
//pc路由
Route::rule('tel/[:id]/','index/tel/index');
现在我访问
http://m.tp.com/tel/index.html为什么会提示index模块不存在,错误提示at APP::module(['index', 'tel', 'index']), 找index模块去了,
我配置了domain('m','m'),不是应该访问module(['m', 'tel', 'index'])吗?
最佳答案
评论( 相关
后面还有条评论,点击查看>>