From 98f89d8f8a4986b0c550e6ed56d98f42f926c552 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Tue, 31 May 2016 14:12:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=82=E6=95=B0=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/Request.php b/library/think/Request.php index 579ca74e..325d7625 100644 --- a/library/think/Request.php +++ b/library/think/Request.php @@ -411,7 +411,7 @@ class Request * @param bool $method true 获取原始请求类型 * @return string */ - public function method($method = '') + public function method($method = false) { if (true === $method) { // 获取原始请求类型