...
|
...
|
@@ -534,7 +534,7 @@ class SyncMail { |
|
|
$foldername = $this->db->cache(86400)->value(folderSql::first($folder_id,'folder'));
|
|
|
if(in_array($foldername,['收件箱','垃圾箱'])){
|
|
|
// 新邮件id,丢入redis
|
|
|
redis()->rPush('new_mail_ids',$id.'.'.(time()+120));
|
|
|
redis()->rPush('new_mail_ids',$id.'.'.($foldername=='垃圾箱'?time():time()+120));
|
|
|
}
|
|
|
}
|
|
|
//////////////////
|
...
|
...
|
|