diff --git a/app/Console/Commands/XboardUpdate.php b/app/Console/Commands/XboardUpdate.php index 61e0507..0f9abd2 100644 --- a/app/Console/Commands/XboardUpdate.php +++ b/app/Console/Commands/XboardUpdate.php @@ -52,7 +52,9 @@ class XboardUpdate extends Command $this->info('正在检查并安装默认插件...'); PluginManager::installDefaultPlugins(); $this->info('默认插件检查完成'); - Artisan::call('reset:traffic', ['--fix-null' => true]); + // Artisan::call('reset:traffic', ['--fix-null' => true]); + $this->info('正在重新计算所有用户的重置时间...'); + Artisan::call('reset:traffic', ['--force' => true]); $updateService = new UpdateService(); $updateService->updateVersionCache(); $themeService = app(ThemeService::class);