CI 如何获取get请求过来的数据

http://localhost/ci_tuangou/index.php/home/index/index?gid=2

echo 'gid='. $this->input->get('gid');

结果:gid=2

原文地址:https://www.cnblogs.com/hgj123/p/3913917.html