AI写作智能体 自主规划任务,支持联网查询和网页读取,多模态高效创作各类分析报告、商业计划、营销方案、教学内容等。 广告
# getAllPostGet 获取所有的post和get,合并返回一个数组,若get和post中有相同字段post会覆盖get的值。 ### 函数原型: ```php /** * 获取所有的post和get */ public function getAllPostGet() ``` *如果不想抛弃get中相同字段的值,则需要通过 get 方法单独来获取* ### 使用示例: ```php public function http_index(){ //获取所有post和get值 $data = $this->http_input->getAllPostGet(); //单独获取get中重复的key $sameValue = $this->http_input->get('samekey'); $this->http_output->end($data); } ```