post = json_decode(file_get_contents('php://input'),true); // 普通xml处理 //$this->post = simplexml_load_string ( // file_get_contents('php://input'), // 'SimpleXMLElement', // LIBXML_NOCDATA //); //$this->post = json_decode(json_encode($this->post), TRUE); } }