作者 邓超

x

... ... @@ -320,7 +320,7 @@ class MailListV2 extends Base {
$fids = $this->getFolderId($folder,$email);
// 有目录id和from
if($fids){
return dbWhere(['folder_id'=>$fids]);
return dbWhere(['folder_id'=>$fids]).' and ';
}
}
... ... @@ -339,7 +339,7 @@ class MailListV2 extends Base {
* @time 2024/7/19 10:15
*/
public function count(){
$emails = $this->getEmails('id');
// $emails = $this->getEmails('id');
// show_count_filed
$show_count_filed = app()->requestArr('show_count_filed',['inbox', 'send', 'unseen', 'flagged', 'junk', 'hot_inbox', 'hot_send']);
... ...