21,893
社区成员




$type = $_SERVER['REQUEST_METHOD'];
parse_str(file_get_contents('php://input'), $data);
$data = array_merge($_GET, $_POST, $data);
//根据 $type 的值做相应的操作
parse_str(file_get_contents('php://input'), $data)
$_GET貌似取不到参数
以上,谢谢大家的帮助,结贴了