colly_wyx
2018-04-28 4b9bdbdab8d33a9197e12cac65477018e8bdc20e
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'),