From 74adf3a72663f151dc2c1b87ecb4ea4b0e080a50 Mon Sep 17 00:00:00 2001
From: colly_wyx <wangyixiong_007@163.com>
Date: Fri, 27 Apr 2018 16:21:52 +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 f76c73b..2134c98 100644
--- a/PhalApi/PhalApi/Request.php
+++ b/PhalApi/PhalApi/Request.php
@@ -50,7 +50,7 @@
* @var string ���������������������
*/
protected $actionName;
-
+
/**
* - ���������������������������������������������������������������������������������������������
*
@@ -86,7 +86,6 @@
$this->post = $_POST;
$this->request = $_REQUEST;
$this->cookie = $_COOKIE;
-
@list($this->apiName, $this->actionName) = explode('.', $this->getService());
}
@@ -177,7 +176,7 @@
? $this->getDataBySource($rule['source'])
: $this->data;
- DI()->logger->error('test', $data);
+ DI()->logger->error('test', $_POST);
$rs = PhalApi_Request_Var::format($rule['name'], $rule, $data);
--
Gitblit v1.8.0