企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持知识库和私有化部署方案 广告
## 一、兼容模式 > 配置文件 > ├─data 配置文件 > │ ├─route.php 路由配置文件 > 'PATH_INFO'=>3,//URL模式 默认1 1、普通模式 2、伪静态模式 3、兼容模式 4、自定义路由模式 ##### 兼容模式 可以使用普通模式跟伪静态模式,系统会自动判断请求属于那种模式 ~~~ http://www.calf.com/index.php/app/index/index/id/1 http://serverName/index.php/module/controller/action/param/value/.. ~~~ | 参数 | 名称 | | --- | --- | | module | 模块名 | | controller | 控制器名 | | action | 方法名 | | param | 参数名 | | value | 参数值 | ~~~ http://www.calf.com/index.php?m=app&c=index&a=index&id=1 ~~~ | 参数 | 名称 | | --- | --- | | m | 模块名 | | c | 控制器名 | | a | 方法名 | | id | 参数 |