mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-09 16:12:49 +08:00
注释修正
This commit is contained in:
@@ -102,7 +102,6 @@ function config($name = '', $value = null, $range = '')
|
||||
* @param string $key 获取的变量名
|
||||
* @param mixed $default 默认值
|
||||
* @param string $filter 过滤方法
|
||||
* @param bool $merge 是否合并系统默认过滤方法
|
||||
* @return mixed
|
||||
*/
|
||||
function input($key, $default = null, $filter = null)
|
||||
@@ -123,9 +122,9 @@ function input($key, $default = null, $filter = null)
|
||||
// 默认为自动判断
|
||||
$method = 'param';
|
||||
}
|
||||
if(isset($has)){
|
||||
if (isset($has)) {
|
||||
return request()->has($key, $method, $default);
|
||||
}else{
|
||||
} else {
|
||||
return request()->$method($key, $default, $filter);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user