- 配置文件config 设置
controller_auto_search =true
2 . 路由请求
Route::rule('/hello','api/v1.hello/index','GET|POST');

controller_auto_search =true
2 . 路由请求
Route::rule('/hello','api/v1.hello/index','GET|POST');
本文标题:Thinkphp 路由指定多级控制器
本文链接:https://www.haomeiwen.com/subject/phhdpftx.html
网友评论