正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -534,7 +534,7 @@ class SyncMail { | @@ -534,7 +534,7 @@ class SyncMail { | ||
534 | $foldername = $this->db->cache(86400)->value(folderSql::first($folder_id,'folder')); | 534 | $foldername = $this->db->cache(86400)->value(folderSql::first($folder_id,'folder')); |
535 | if(in_array($foldername,['收件箱','垃圾箱'])){ | 535 | if(in_array($foldername,['收件箱','垃圾箱'])){ |
536 | // 新邮件id,丢入redis | 536 | // 新邮件id,丢入redis |
537 | - redis()->rPush('new_mail_ids',$id.'.'.(time()+120)); | 537 | + redis()->rPush('new_mail_ids',$id.'.'.($foldername=='垃圾箱'?time():time()+120)); |
538 | } | 538 | } |
539 | } | 539 | } |
540 | ////////////////// | 540 | ////////////////// |
-
请 注册 或 登录 后发表评论