...
|
...
|
@@ -178,7 +178,7 @@ class MailListV2 extends Base { |
|
|
if($subject){
|
|
|
$subject = is_array($subject) ? $subject : [$subject];
|
|
|
foreach ($subject as $sub){
|
|
|
$sql.=' and `subject` .'.(empty($is_auto_inbox)?' not ':'').'like "%%'.addslashes($sub).'%%"';
|
|
|
$sql.=' and `subject` '.(empty($is_auto_inbox)?' not ':'').'like "%%'.addslashes($sub).'%%"';
|
|
|
}
|
|
|
}
|
|
|
// 不在此邮箱中的
|
...
|
...
|
@@ -186,12 +186,11 @@ class MailListV2 extends Base { |
|
|
if($from_not_in_like){
|
|
|
$from_not_in_like = is_array($from_not_in_like) ? $from_not_in_like : [$from_not_in_like];
|
|
|
foreach ($from_not_in_like as $sub){
|
|
|
$sql.=' and `from` .'.(empty($is_auto_inbox)?' not ':'').'like "%%'.addslashes($sub).'%%"';
|
|
|
$sql.=' and `from` '.(empty($is_auto_inbox)?' not ':'').'like "%%'.addslashes($sub).'%%"';
|
|
|
}
|
|
|
}
|
|
|
/************ 2024-09-02 *************/
|
|
|
|
|
|
|
|
|
// 查询列表数据
|
|
|
$lists = db()->all(sprintf($sql,$filed)." order by `udate` desc limit {$limit} offset ".(($page-1)*$limit));
|
|
|
|
...
|
...
|
|