lizhen_gitee 1 年之前
父节点
当前提交
ff56fd13f7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Console/Commands/Plantask.php

+ 1 - 1
app/Console/Commands/Plantask.php

@@ -41,7 +41,7 @@ class Plantask extends Command
      */
      */
     public function handle()
     public function handle()
     {
     {
-        $list = DB::table('hx_gift_user_party')->where('new_task_status',0)->orderBy('id','asc')->get()->toArray();
+        $list = DB::table('hx_gift_user_party')->where('new_task_status',0)->limit(10000)->orderBy('id','asc')->get()->toArray();
         //dd($list);
         //dd($list);
         //
         //
         if(!empty($list)){
         if(!empty($list)){