作者 邓超

x

@@ -254,7 +254,7 @@ class SyncMail { @@ -254,7 +254,7 @@ class SyncMail {
254 $p++; 254 $p++;
255 255
256 foreach ($uids as $k=>$uid){ 256 foreach ($uids as $k=>$uid){
257 - if($this->db->value(listsSql::first(dbWhere(['email_id'=>$this->emailId(),'folder_id'=>$folder_id,'uid'=>$uid]),'count(*) as c'))){ 257 + if($this->db->cache(86400*30,false)->value(listsSql::first(dbWhere(['email_id'=>$this->emailId(),'folder_id'=>$folder_id,'uid'=>$uid]),'count(*) as c'))){
258 unset($uids[$k]); 258 unset($uids[$k]);
259 } 259 }
260 } 260 }