tp5 使用路由时,路由匹配问题?

浏览:505 发布日期:2020/10/10 分类:ThinkPHP5专区 关键字: TP5 路由 手机 mobile
我在路由里设置Route::get('mobile',function(){ return 'Hello,world!';});浏览器访问时,提示[0] HttpException in App.php line 535模块不存在:error我把路由修改成use \think\Route;Route::get('mob',function(){ return 'Hello,world!';});浏览器访问输出:Hello,world!请问下这个是什么原因呢,我路由访问mobile 需要怎么调整和配置呢
最佳答案
评论( 相关
后面还有条评论,点击查看>>