作者 邓超

优化

@@ -2,7 +2,6 @@ @@ -2,7 +2,6 @@
2 2
3 namespace Controller; 3 namespace Controller;
4 4
5 -use Lib\Imap\Fun;  
6 use Lib\Mail\Mail; 5 use Lib\Mail\Mail;
7 use Lib\Mail\MailFun; 6 use Lib\Mail\MailFun;
8 use Lib\UploadFile; 7 use Lib\UploadFile;
@@ -911,7 +910,6 @@ class Home extends Base { @@ -911,7 +910,6 @@ class Home extends Base {
911 $data['uuid'] = get_email_uuid($data['subject'],$data['udate'],$data['from'],$data['to'],$data['size']); 910 $data['uuid'] = get_email_uuid($data['subject'],$data['udate'],$data['from'],$data['to'],$data['size']);
912 911
913 $data['description'] = @html_entity_decode($data['description']??'', ENT_COMPAT, 'UTF-8'); 912 $data['description'] = @html_entity_decode($data['description']??'', ENT_COMPAT, 'UTF-8');
914 - $data['description'] = Fun::mb_convert_encoding($data['description'],'utf-8');  
915 913
916 $data['to_name'] = $data['to_name'] ? json_decode($data['to_name'],true) : []; 914 $data['to_name'] = $data['to_name'] ? json_decode($data['to_name'],true) : [];
917 $data['cc'] = $data['cc'] ? json_decode($data['cc'],true) : []; 915 $data['cc'] = $data['cc'] ? json_decode($data['cc'],true) : [];