generated from liutk/owl-admin-base
调整上传图片接口
parent
696171e93d
commit
a86fbf5502
|
|
@ -77,7 +77,7 @@ class UserService
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function saveFile($path, $file = null)
|
public function saveFile($path, $file = null)
|
||||||
{
|
{
|
||||||
if (gettype($file) == 'object') {
|
if (gettype($file) == 'object') {
|
||||||
//获取文件大小
|
//获取文件大小
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue