作者 邓超

cmd bug

@@ -23,7 +23,8 @@ function start(){ @@ -23,7 +23,8 @@ function start(){
23 break; 23 break;
24 } 24 }
25 25
26 - $lists = db()->all(\Model\sendJobsSql::sendList(500-$cNum)); 26 + $lists = db()->all(\Model\sendJobsSql::sendList(500));
  27 + $lists = $lists?$lists:[];
27 // 循环 28 // 循环
28 foreach ($lists as $list){ 29 foreach ($lists as $list){
29 30