作者 邓超

x uuid

@@ -164,7 +164,7 @@ class Home extends Base { @@ -164,7 +164,7 @@ class Home extends Base {
164 164
165 // map 165 // map
166 $lists = array_map(function ($v){ 166 $lists = array_map(function ($v){
167 - $v['uuid'] = get_email_uuid($v['subject'],$v['udate'],$v['folder_id'],$v['from'],$v['to'],$v['size']); 167 + $v['uuid'] = get_email_uuid($v['subject'],$v['udate'],$v['from'],$v['to'],$v['size']);
168 return $v; 168 return $v;
169 },$lists); 169 },$lists);
170 170
@@ -634,7 +634,7 @@ class Home extends Base { @@ -634,7 +634,7 @@ class Home extends Base {
634 if($data){ 634 if($data){
635 $sync_num = 0; 635 $sync_num = 0;
636 636
637 - $data['uuid'] = get_email_uuid($data['subject'],$data['udate'],$data['folder_id'],$data['from'],$data['to'],$data['size']); 637 + $data['uuid'] = get_email_uuid($data['subject'],$data['udate'],$data['from'],$data['to'],$data['size']);
638 638
639 $data['to_name'] = $data['to_name'] ? json_decode($data['to_name'],true) : []; 639 $data['to_name'] = $data['to_name'] ? json_decode($data['to_name'],true) : [];
640 $data['cc'] = $data['cc'] ? json_decode($data['cc'],true) : []; 640 $data['cc'] = $data['cc'] ? json_decode($data['cc'],true) : [];
@@ -449,9 +449,9 @@ function strip_tags_content($text, $tags = '', $invert = FALSE) { @@ -449,9 +449,9 @@ function strip_tags_content($text, $tags = '', $invert = FALSE) {
449 * @author:dc 449 * @author:dc
450 * @time 2023/9/18 9:33 450 * @time 2023/9/18 9:33
451 */ 451 */
452 -function get_email_uuid($subject,$udate,$folder,$form,$to,$size){ 452 +function get_email_uuid($subject,$udate,$form,$to,$size){
453 453
454 - return md5(json_encode([$subject,$udate,$folder,$form,$to,$size])); 454 + return md5(json_encode([$subject,$udate,$form,$to,$size]));
455 455
456 } 456 }
457 457