同步企业套餐

This commit is contained in:
邓皓元 2019-01-09 14:30:36 +08:00
parent bac298fca0
commit 540226f931

View File

@ -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();