lizhen_gitee před 1 rokem
rodič
revize
ff56fd13f7
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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()
     {
-        $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);
         //
         if(!empty($list)){