作者 邓超

优化同步

@@ -265,6 +265,9 @@ class HomeEs extends Base { @@ -265,6 +265,9 @@ class HomeEs extends Base {
265 $v = $v['_source']; 265 $v = $v['_source'];
266 $v['id'] = $v['uuid']; 266 $v['id'] = $v['uuid'];
267 267
  268 + $v['from_name'] = $v['from']['name']??'';
  269 + $v['from'] = $v['from']['email']??'';
  270 +
268 $v['uuid'] = get_email_uuid($v['subject'],$v['udate'],$v['from'],$v['to'],$v['size']); 271 $v['uuid'] = get_email_uuid($v['subject'],$v['udate'],$v['from'],$v['to'],$v['size']);
269 if(!empty($v['description'])){ 272 if(!empty($v['description'])){
270 $v['description'] = @html_entity_decode($v['description'], ENT_COMPAT, 'UTF-8'); 273 $v['description'] = @html_entity_decode($v['description'], ENT_COMPAT, 'UTF-8');