作者 邓超

优化同步

@@ -262,6 +262,9 @@ class HomeEs extends Base { @@ -262,6 +262,9 @@ class HomeEs extends Base {
262 262
263 // map 263 // map
264 $lists = array_map(function ($v){ 264 $lists = array_map(function ($v){
  265 + $v = $v['_source'];
  266 + $v['id'] = $v['uuid'];
  267 +
265 $v['uuid'] = get_email_uuid($v['subject'],$v['udate'],$v['from'],$v['to'],$v['size']); 268 $v['uuid'] = get_email_uuid($v['subject'],$v['udate'],$v['from'],$v['to'],$v['size']);
266 if(!empty($v['description'])){ 269 if(!empty($v['description'])){
267 $v['description'] = @html_entity_decode($v['description'], ENT_COMPAT, 'UTF-8'); 270 $v['description'] = @html_entity_decode($v['description'], ENT_COMPAT, 'UTF-8');