colly_wyx
2018-04-26 40417edce32320cc8f6f558adf9b8ee8b4ff23c2
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'),