From e4d5467f055ece8cc9dfdc02dd836bcc187034a5 Mon Sep 17 00:00:00 2001 From: colly_wyx <wangyixiong_007@163.com> Date: Wed, 13 Jun 2018 10:15:57 +0800 Subject: [PATCH] 替换铃音 --- PhalApi/PhalApi/Request.php | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/PhalApi/PhalApi/Request.php b/PhalApi/PhalApi/Request.php index ad9ffca..2134c98 100644 --- a/PhalApi/PhalApi/Request.php +++ b/PhalApi/PhalApi/Request.php @@ -50,7 +50,7 @@ * @var string ��������������������� */ protected $actionName; - + /** * - ��������������������������������������������������������������������������������������������� * @@ -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()); } -- Gitblit v1.8.0