colly_wyx
2018-05-18 50a53f7db63c5729b0ddbc93367117cf35ccf03c
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'),