...
|
...
|
@@ -162,6 +162,12 @@ class Home extends Base { |
|
|
)
|
|
|
);
|
|
|
|
|
|
// map
|
|
|
$lists = array_map(function ($v){
|
|
|
$v['uuid'] = get_email_uuid($v['subject'],$v['udate'],$v['folder_id'],$v['from'],$v['to'],$v['size']);
|
|
|
return $v;
|
|
|
},$lists);
|
|
|
|
|
|
// 总数
|
|
|
$total = db()->count(
|
|
|
listsSql::listCount(dbWhere($where))
|
...
|
...
|
@@ -627,6 +633,9 @@ class Home extends Base { |
|
|
|
|
|
if($data){
|
|
|
$sync_num = 0;
|
|
|
|
|
|
$data['uuid'] = get_email_uuid($data['subject'],$data['udate'],$data['folder_id'],$data['from'],$data['to'],$data['size']);
|
|
|
|
|
|
$data['to_name'] = $data['to_name'] ? json_decode($data['to_name'],true) : [];
|
|
|
$data['cc'] = $data['cc'] ? json_decode($data['cc'],true) : [];
|
|
|
$data['bcc'] = $data['bcc'] ? json_decode($data['bcc'],true) : [];
|
...
|
...
|
|