作者 邓超

mail del

... ... @@ -31,7 +31,7 @@ function start(){
// 循环阻塞
while (true){
$id = db()->value('select `id` from `'.\Model\emailSql::$table.'` where `id` > '.$id.' limit 1 order by asc');
$id = db()->value('select `id` from `'.\Model\emailSql::$table.'` where `id` > '.$id.' order by `id` asc limit 1');
if($id){
// 占用当前的id,占用2小时
... ...