作者 邓超

es

@@ -59,7 +59,7 @@ class AutoMail { @@ -59,7 +59,7 @@ class AutoMail {
59 if(redis()->add('auto_mail_sync2',1,60)){ 59 if(redis()->add('auto_mail_sync2',1,60)){
60 _echo('正在计算数据'); 60 _echo('正在计算数据');
61 $maxId = $this->db->value("select `id` from `lists` order by `id` desc limit 1"); 61 $maxId = $this->db->value("select `id` from `lists` order by `id` desc limit 1");
62 - $startId = $maxId-10000; 62 + $startId = $maxId-20000;
63 63
64 foreach (minMaxToArray($startId,$maxId) as $ids){ 64 foreach (minMaxToArray($startId,$maxId) as $ids){
65 redis()->rPush('auto_check_ids',implode(',',$ids)); 65 redis()->rPush('auto_check_ids',implode(',',$ids));