diff --git a/helper.php b/helper.php index b81970c7..02d8761a 100644 --- a/helper.php +++ b/helper.php @@ -125,7 +125,7 @@ if (!function_exists('input')) { } if ($pos = strpos($key, '.')) { // 指定参数来源 - list($method, $key) = explode('.', $key); + list($method, $key) = explode('.', $key, 2); if (!in_array($method, ['get', 'post', 'put', 'patch', 'delete', 'param', 'request', 'session', 'cookie', 'server', 'env', 'path', 'file'])) { $key = $method . '.' . $key; $method = 'param';