PhalApi/PhalApi/Request.php
@@ -83,10 +83,9 @@ // 备用数据源 $this->headers = $this->getAllHeaders(); $this->get = $_GET; $this->post = !empty($_POST)?$_POST:file_get_contents('php://input'); $this->post = $_POST; $this->request = $_REQUEST; $this->cookie = $_COOKIE; @list($this->apiName, $this->actionName) = explode('.', $this->getService()); }