先去php://input文件中获取出来发送的数据 由于是字符串就直接拆分成数组方便调用 parse_str(file_get_contents('php://input'), $data); $data即为接收的数组格式