mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-08-30 12:45:32 +08:00
改进Input类和request类的file方法
This commit is contained in:
@@ -445,7 +445,7 @@ class Request
|
||||
*/
|
||||
public function file($name = '')
|
||||
{
|
||||
return Input::data($this->file ?: $_FILES, $name);
|
||||
return Input::file($name, $this->file ?: $_FILES);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user