作者 邓超

x

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