Thinkphp 路由指定多级控制器
2018-07-12 本文已影响0人
Chting
- 配置文件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');