mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-13 03:52:50 +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)) {
|
if (preg_match("/\/single\/file\/(.*?)$/i", $link, $match)) {
|
||||||
$id = intval(FileLink::whereCode($match[1])->value('file_id'));
|
$id = intval(FileLink::whereCode($match[1])->value('file_id'));
|
||||||
$take = 1;
|
$take = 1;
|
||||||
|
if (empty($id)) {
|
||||||
|
return Base::retSuccess('success', []);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// 搜索自己的
|
// 搜索自己的
|
||||||
$builder = File::whereUserid($user->userid);
|
$builder = File::whereUserid($user->userid);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user