参数调整

This commit is contained in:
thinkphp
2016-05-31 14:12:05 +08:00
parent a7b2dbe86f
commit 98f89d8f8a

View File

@@ -411,7 +411,7 @@ class Request
* @param bool $method true 获取原始请求类型
* @return string
*/
public function method($method = '')
public function method($method = false)
{
if (true === $method) {
// 获取原始请求类型