作者 邓超

优化

@@ -1000,7 +1000,7 @@ class Home extends Base { @@ -1000,7 +1000,7 @@ class Home extends Base {
1000 },$data['to_name']); 1000 },$data['to_name']);
1001 1001
1002 $postid = app()->request('postid','','intval'); 1002 $postid = app()->request('postid','','intval');
1003 - $esData = es('email_lists_branch_'.$postid)->get(['id'=>$data['email_id'].'_'.$data['folder_id'].'_'.$data['uid']]); 1003 + $esData = ($postid ? es('email_lists_branch_'.$postid) : es())->get(['id'=>$data['email_id'].'_'.$data['folder_id'].'_'.$data['uid']]);
1004 $data['postid'] = $esData['_source']['postid']??0; 1004 $data['postid'] = $esData['_source']['postid']??0;
1005 1005
1006 // 是否再次 重新获取 1006 // 是否再次 重新获取