作者 邓超

es

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