作者 邓超

x

... ... @@ -138,8 +138,12 @@ class MailListV2 extends Base {
$where['is_hots'] = 1;
}
if(app()->request('seen')){
$where['seen'] = 0;
$seen = app()->request('seen',-1,'intval');
// 已读/未读
if(paramHas('seen')){
if(in_array($seen,[0,1])){
$where['seen'] = $seen;
}
}
$folder_id = $this->getFolderId($folder);
... ...