用AI赚第一桶💰低成本搭建一套AI赚钱工具,源码可二开。 广告
# getPost 优先从get中取值,若没有再从post中取值;如果post与get中有相同的字段名,则以get值为准。如果都不存在则返回空字符串 *xss_clean:是否使用xss清理* ### 函数原型 ```php /** * getPost * @param $index * @param $xss_clean * @return string */ public function getPost($index, $xss_clean = true) ``` ### 使用示例 ```php public function http_index(){ $data = $this->http_input->getPost("data"); $this->http_output->end($data); } ```