...
|
...
|
@@ -855,6 +855,9 @@ class Home extends Base { |
|
|
* @time 2023/4/1 9:24
|
|
|
*/
|
|
|
public function info(){
|
|
|
$reload = app()->request('reload',0,'intval');
|
|
|
$sync_num = 0;
|
|
|
HOME_INFO_BODY:
|
|
|
$id = app()->request('id',0,'intval');
|
|
|
|
|
|
$udate = app()->request('udate',0,'intval');
|
...
|
...
|
@@ -874,8 +877,6 @@ class Home extends Base { |
|
|
}
|
|
|
|
|
|
if($data){
|
|
|
$sync_num = 0;
|
|
|
|
|
|
$data['uuid'] = get_email_uuid($data['subject'],$data['udate'],$data['from'],$data['to'],$data['size']);
|
|
|
|
|
|
$data['description'] = @html_entity_decode($data['description']??'', ENT_COMPAT, 'UTF-8');
|
...
|
...
|
@@ -892,14 +893,11 @@ class Home extends Base { |
|
|
},$data['to_name']);
|
|
|
|
|
|
// 是否再次 重新获取
|
|
|
$reload = app()->request('reload',0,'intval');
|
|
|
$data['allowreply'] = db()->value(folderSql::first(['id'=>$data['folder_id']],'folder'))!='发件箱'?1:0;
|
|
|
HOME_INFO_BODY:
|
|
|
|
|
|
$body = db()->first(bodySql::first($id));
|
|
|
if($body && !$reload){
|
|
|
$data['body'] = json_decode($body['text_html'],true);
|
|
|
|
|
|
$charset = 'utf-8';
|
|
|
$htmlbody = '';
|
|
|
foreach ($data['body'] as $bd){
|
|
|
// if(!empty($bd['charset'])){
|
...
|
...
|
|