作者 邓超

全部标记 已读未读

... ... @@ -557,10 +557,13 @@ class Home extends Base {
unset($fids[$fk]);
}
}
// 查询要标记的 邮件id
$mail_ids = db()->all(listsSql::all(dbWhere(['folder_id'=>array_column($fids,'id'),'seen'=>0]),'`id`'));
if($fids){
// 查询要标记的 邮件id
$mail_ids = db()->all(listsSql::all(dbWhere(['folder_id'=>array_column($fids,'id'),'seen'=>0]),'`id`'));
$mail_ids = array_column($mail_ids,'id');
}
$mail_ids = array_column($mail_ids,'id');
}
... ...