Explorar o código

开启波次任务

LD %!s(int64=5) %!d(string=hai) anos
pai
achega
74ec3e2f93
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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]);
     }