作者 邓超

优化同步

... ... @@ -225,7 +225,7 @@ class MailListV2Es extends Base {
$notinquery = [];
foreach ($from_not_in_like as $k => $sub) {
if($sub){
$notinquery[] = ['match'=>['from.email'=>$sub]];
$notinquery[] = ['match_phrase'=>['from.email'=>$sub]];
}
}
if($notinquery){
... ... @@ -544,7 +544,7 @@ class MailListV2Es extends Base {
$notinquery = [];
foreach ($from_not_in_like as $k => $sub) {
if($sub){
$notinquery[] = ['match'=>['from.email'=>$sub]];
$notinquery[] = ['match_phrase'=>['from.email'=>$sub]];
}
}
if($notinquery){
... ...