fix: 无法移动共享文件夹内创建的文件
This commit is contained in:
parent
9a66c38e01
commit
33135b1df1
@ -348,9 +348,7 @@ class FileController extends AbstractController
|
|||||||
return Base::retError('一次最多只能移动100个文件或文件夹');
|
return Base::retError('一次最多只能移动100个文件或文件夹');
|
||||||
}
|
}
|
||||||
if ($pid > 0) {
|
if ($pid > 0) {
|
||||||
if (!File::whereUserid($user->userid)->whereId($pid)->exists()) {
|
File::permissionFind($pid, 1);
|
||||||
return Base::retError('参数错误');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
$files = [];
|
$files = [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user