mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
Update Upload.php
This commit is contained in:
parent
5a0b7d4ef3
commit
24b17f900a
@ -153,7 +153,8 @@ class Upload extends Controller
|
||||
SystemFile::mQuery()->layTable(function () {
|
||||
$this->title = '文件选择器';
|
||||
}, function (QueryHelper $query) {
|
||||
$query->like('name,hash')->dateBetween('create_at')->order('id desc');
|
||||
$query->like('name,hash')->dateBetween('create_at');
|
||||
$query->whereLike('mime', 'image/%')->order('id desc');
|
||||
$query->where(['status' => 2, 'issafe' => 0, 'uuid' => AdminService::getUserId()]);
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user