用户
 找回密码
 入住 CI 中国社区
搜索
查看: 1609|回复: 2
收起左侧

[已解决] 关于启用查询字符串问题,有点模糊

[复制链接]
发表于 2017-3-23 14:29:31 | 显示全部楼层 |阅读模式
假如这是我的路径:http://127.0.0.1/testci/Ci/index.php/c=mapdata&m=add

  我的参数该怎么写呢。。。


下面是我的controller层:

class Mapdata extends CI_Controller {

     public  function  add ($data ,$data2) {

         
}

}



发表于 2017-3-23 14:45:27 | 显示全部楼层
不支持这种形式的传参。
 楼主| 发表于 2017-3-23 14:54:51 | 显示全部楼层
Hex 发表于 2017-3-23 14:45
不支持这种形式的传参。

解决了,就是 get请求。。

本版积分规则