mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 11:19:56 +00:00
no message
This commit is contained in:
parent
81fdcce40f
commit
679a0002a7
@ -182,6 +182,9 @@ class FileController extends AbstractController
|
||||
if (preg_match("/\/single\/file\/(.*?)$/i", $link, $match)) {
|
||||
$id = intval(FileLink::whereCode($match[1])->value('file_id'));
|
||||
$take = 1;
|
||||
if (empty($id)) {
|
||||
return Base::retSuccess('success', []);
|
||||
}
|
||||
}
|
||||
// 搜索自己的
|
||||
$builder = File::whereUserid($user->userid);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user