作者 邓超

同步

... ... @@ -406,15 +406,15 @@ class MailListV2 extends Base {
}
// 收件箱
if(in_array('replied',$show_count_filed)) {
if(in_array('inbox',$show_count_filed)) {
$shouCount = db()->cache($this->cache)->count($sql . dbWhere($where));
}
// 收件箱中标记为已回复的邮件
if(in_array('replied',$show_count_filed)){
$where['answered'] = 1;
if(in_array('inbox',$show_count_filed)){
// $where['answered'] = 1;
$repliedCount = db()->cache($this->cache)->count($sql . dbWhere($where));
unset($where['answered']);
// unset($where['answered']);
}
// 未读
... ...