...
|
...
|
@@ -288,8 +288,8 @@ class SyncToEsCmd { |
|
|
'to' => ['type' => 'text'],
|
|
|
'cc' => ['type' => 'keyword'],
|
|
|
'bcc' => ['type' => 'keyword'],
|
|
|
'uid' => ['type' => 'integer'],
|
|
|
'udate' => ['type' => 'integer'],
|
|
|
'uid' => ['type' => 'long'],
|
|
|
'udate' => ['type' => 'long'],
|
|
|
'folder_id' => ['type' => 'integer'],
|
|
|
'email_id' => ['type' => 'integer'],
|
|
|
'size' => ['type' => 'integer'],
|
...
|
...
|
@@ -487,6 +487,10 @@ class SyncToEsCmd { |
|
|
];
|
|
|
unset($data['from_name']);
|
|
|
unset($data['date']);
|
|
|
// 有的服务商时间跑到 2100+年去了,我了个去
|
|
|
if($data['udate'] > 2147483647){
|
|
|
$data['udate'] = 2147483647;
|
|
|
}
|
|
|
|
|
|
$data['to_name'] = $this->trimEmail($data['to_name']??[]);
|
|
|
$data['cc'] = $this->trimEmail($data['cc']??[]);
|
...
|
...
|
|