缺少权限验证

This commit is contained in:
augushong
2019-10-10 13:20:08 +08:00
parent f00328d030
commit f23e255619
32 changed files with 214 additions and 35 deletions

View File

@@ -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);