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, 3 insertions(+), 2 deletions(-) diff --git a/PhalApi/PhalApi/Request.php b/PhalApi/PhalApi/Request.php index 052b928..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,6 +176,8 @@ ? $this->getDataBySource($rule['source']) : $this->data; + DI()->logger->error('test', $_POST); + $rs = PhalApi_Request_Var::format($rule['name'], $rule, $data); if ($rs === NULL && (isset($rule['require']) && $rule['require'])) { -- Gitblit v1.8.0