mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-06 10:02:49 +08:00
缺少权限验证
This commit is contained in:
@@ -21,7 +21,7 @@ class File extends Common
|
||||
$type = $this->request->param('type',1);
|
||||
$status = $this->request->param('status','');
|
||||
|
||||
$model_list = UploadFiles::where('type',$type)->order('id desc');
|
||||
$model_list = UploadFiles::withTrashed()->where('type',$type)->order('id desc');
|
||||
|
||||
if($status != ''){
|
||||
$model_list->where('status',$status);
|
||||
|
||||
Reference in New Issue
Block a user