作者 邓超

x

@@ -64,7 +64,7 @@ class HotMail { @@ -64,7 +64,7 @@ class HotMail {
64 64
65 $maxId = $this->db->value("select `id` from `lists` order by `id` desc limit 1"); 65 $maxId = $this->db->value("select `id` from `lists` order by `id` desc limit 1");
66 for ($i=0;$i<ceil($maxId/1000);$i++){ 66 for ($i=0;$i<ceil($maxId/1000);$i++){
67 - $this->run(rand($i*1000,($i+1)*1000)); 67 + $this->run(range($i*1000,($i+1)*1000));
68 } 68 }
69 69
70 echo '已执行完成'.PHP_EOL; 70 echo '已执行完成'.PHP_EOL;