Library/MyRequest.php
@@ -5,8 +5,9 @@ parent::__construct($data); // json处理 $this->post = file_get_contents('php://input'); if(!$_POST) $this->post = json_decode(file_get_contents('php://input'),true); // 普通xml处理 //$this->post = simplexml_load_string ( // file_get_contents('php://input'),