同步企业套餐
This commit is contained in:
parent
bac298fca0
commit
540226f931
@ -57,6 +57,11 @@ class LogSync extends Command
|
||||
$page = 1;
|
||||
|
||||
while ($total) {
|
||||
if ($page === 1) {
|
||||
Artisan::call('virtual:sync-company');
|
||||
Artisan::call('virtual:sync-package');
|
||||
}
|
||||
|
||||
echo 'sync_log_cursor page #: ' . $page . ' nextId #: ' . $nextId . PHP_EOL;
|
||||
$res = $query->offset(($page - 1) * $this->limit)->limit($this->limit)->get();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user