colly_wyx
2018-04-24 6883352250af94c3def700e4a92d8f7ed51fec43
优化api框架
1 files modified
2 ■■■ changed files
PhalApi/PhalApi/Request.php 2 ●●● patch | view | raw | blame | history
PhalApi/PhalApi/Request.php
@@ -83,7 +83,7 @@
        // 备用数据源
        $this->headers  = $this->getAllHeaders();
        $this->get      = $_GET;
        $this->post     = $_POST;
        $this->post     = !empty($_POST)?$_POST:file_get_contents('php://input');
        $this->request  = $_REQUEST;
        $this->cookie   = $_COOKIE;