在浏览器输入localhost:8022/index.php/index/index/test

实际访问文件位置

/application/index/controller/index.php的test方法

index.php后面的路径解析
第一个index是index模块
第二个index是index模块的index.php控制器文件
第三个test是控制器文件的test方法
- 文章导航
在浏览器输入localhost:8022/index.php/index/index/test

实际访问文件位置

/application/index/controller/index.php的test方法

index.php后面的路径解析
第一个index是index模块
第二个index是index模块的index.php控制器文件
第三个test是控制器文件的test方法