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);