mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
Update Input.php
修改通过delete协议时,无法获取到url上的参数问题
This commit is contained in:
@@ -72,6 +72,7 @@ class Input
|
||||
static $_DELETE = null;
|
||||
if (is_null($_DELETE)) {
|
||||
parse_str(file_get_contents('php://input'), $_DELETE);
|
||||
$_DELETE = array_merge($_DELETE, $_GET);
|
||||
}
|
||||
return self::data($_DELETE, $name, $default, $filter, $merge);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user