作者 邓超

1

... ... @@ -53,7 +53,7 @@ class Home extends Base {
$where = ['email_id'=>$this->getEmails('id')];
// 目录
$folder = app()->request('folder','INBOX');
$folder = app()->request('folder','收件箱');
$folderList = db()->all(folderSql::all($where['email_id']));
$folder_id = [];
// 文件夹id
... ... @@ -64,9 +64,12 @@ class Home extends Base {
}
}
}
if(!$folder_id){
app()->e('folder_not_fount');
}
//目录
if($folder_id) $where['folder_id'] = $folder_id;
$where['folder_id'] = $folder_id;
if($ids) $where['id'] = $ids;
if($attachment) $where['is_file'] = 1; //附件
// 软删
... ...