作者 邓超

fob 统计

@@ -428,9 +428,9 @@ class MailListV2 extends Base { @@ -428,9 +428,9 @@ class MailListV2 extends Base {
428 } 428 }
429 429
430 // 收件箱中标记为已回复的邮件 430 // 收件箱中标记为已回复的邮件
431 - if(in_array('inbox',$show_count_filed)){ 431 + if(in_array('replied',$show_count_filed)){
432 // $where['answered'] = 1; 432 // $where['answered'] = 1;
433 - $repliedCount = db()->cache($this->cache)->count($sql . dbWhere($where)); 433 + $repliedCount = isset($shouCount) ? $shouCount : db()->cache($this->cache)->count($sql . dbWhere($where));
434 // unset($where['answered']); 434 // unset($where['answered']);
435 } 435 }
436 436