Browse Source

开启波次任务

LD 5 years ago
parent
commit
74ec3e2f93
1 changed files with 3 additions and 1 deletions
  1. 3 1
      app/Console/Commands/SyncBatchTask.php

+ 3 - 1
app/Console/Commands/SyncBatchTask.php

@@ -257,7 +257,9 @@ sql;
                 }
             }
         }
-        //        $this->batchService->assignTasks($batches);
+
+         $this->batchService->assignTasks($batches);    //在这里为波次注册任务!
+
         ValueStore::query()->where("name","wave_detail_last_sync_date")->update(["value"=>$details[count($details)-1]->edittime]);
     }