From 8ad81d62979bb43df2dc102889bab45537108b8f Mon Sep 17 00:00:00 2001
From: colly_wyx <wangyixiong_007@163.com>
Date: Wed, 25 Apr 2018 09:47:09 +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