作者 邓超

邮件读取

... ... @@ -997,6 +997,10 @@ class Home extends Base {
return $t;
},$data['to_name']);
$postid = app()->request('postid','','intval');
$esData = es('email_lists_branch_'.$postid)->get(['id'=>$data['email_id'].'_'.$data['folder_id'].'_'.$data['uid']]);
$data['postid'] = $esData['_source']['postid']??0;
// 是否再次 重新获取
$data['allowreply'] = db()->value(folderSql::first(['id'=>$data['folder_id']],'folder'))!='发件箱'?1:0;
... ...