作者 邓超

x

@@ -53,13 +53,13 @@ class Folder extends Base { @@ -53,13 +53,13 @@ class Folder extends Base {
53 if($folder['email_id'] == $eid){ 53 if($folder['email_id'] == $eid){
54 unset($folder['email_id']); 54 unset($folder['email_id']);
55 // 总数 55 // 总数
56 - $folder['exsts'] = db()->cache(86400)->count(listsSql::listCount(  
57 - dbWhere(['email_id'=>$eid,'folder_id'=> $folder['id'], 'deleted' => 0]) 56 + $folder['exsts'] = db()->count(listsSql::listCount(
  57 + dbWhere(['folder_id'=> $folder['id'], 'deleted' => 0])
58 )); 58 ));
59 if($folder['folder']=='收件箱'){ 59 if($folder['folder']=='收件箱'){
60 // 未读 60 // 未读
61 - $folder['unseen'] = db()->cache(86400)->count(listsSql::listCount(  
62 - dbWhere(['email_id'=>$eid,'folder_id'=> $folder['id'], 'seen' => 0, 'deleted' => 0]) 61 + $folder['unseen'] = db()->count(listsSql::listCount(
  62 + dbWhere(['folder_id'=> $folder['id'], 'seen' => 0, 'deleted' => 0])
63 )); 63 ));
64 }else{ 64 }else{
65 $folder['unseen'] = 0; 65 $folder['unseen'] = 0;