作者 邓超

预热 逻辑

@@ -71,6 +71,7 @@ class HotMail { @@ -71,6 +71,7 @@ class HotMail {
71 if(folderAlias($f['folder']) == $folder){ 71 if(folderAlias($f['folder']) == $folder){
72 // 最后记录的id 72 // 最后记录的id
73 $last_id = db()->value('select max(`lists_id`) from `fob_hot_mail` where `email_id` = '.$email_id.' limit 1'); 73 $last_id = db()->value('select max(`lists_id`) from `fob_hot_mail` where `email_id` = '.$email_id.' limit 1');
  74 + $last_id = $last_id?$last_id:0;
74 $this->findList(new Data($email_id,$f['id'],$type,$last_id)); 75 $this->findList(new Data($email_id,$f['id'],$type,$last_id));
75 } 76 }
76 } 77 }