正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -54,12 +54,12 @@ class Folder extends Base { | @@ -54,12 +54,12 @@ class Folder extends Base { | ||
54 | unset($folder['email_id']); | 54 | unset($folder['email_id']); |
55 | // 总数 | 55 | // 总数 |
56 | $folder['exsts'] = db()->count(listsSql::listCount( | 56 | $folder['exsts'] = db()->count(listsSql::listCount( |
57 | - dbWhere(['folder_id'=> $folder['id'], 'deleted' => 0]) | 57 | + dbWhere(['email_id'=>$eid,'folder_id'=> $folder['id'], 'deleted' => 0]) |
58 | )); | 58 | )); |
59 | if($folder['folder']=='收件箱'){ | 59 | if($folder['folder']=='收件箱'){ |
60 | // 未读 | 60 | // 未读 |
61 | $folder['unseen'] = db()->count(listsSql::listCount( | 61 | $folder['unseen'] = db()->count(listsSql::listCount( |
62 | - dbWhere(['folder_id'=> $folder['id'], 'seen' => 0, 'deleted' => 0]) | 62 | + dbWhere(['email_id'=>$eid,'folder_id'=> $folder['id'], 'seen' => 0, 'deleted' => 0]) |
63 | )); | 63 | )); |
64 | }else{ | 64 | }else{ |
65 | $folder['unseen'] = 0; | 65 | $folder['unseen'] = 0; |
-
请 注册 或 登录 后发表评论