update backend route group

This commit is contained in:
2026-03-23 16:24:17 +08:00
parent f5847b392c
commit b97fd3f59b
4 changed files with 424 additions and 1 deletions
+7 -1
View File
@@ -54,6 +54,9 @@ class AppInstall extends HyperfCommand
$this->line('Fixed: username corrected to "administrator".', 'info');
}
$this->call('route:sync');
$this->call('route-group:seed');
return 0;
}
@@ -81,8 +84,11 @@ class AppInstall extends HyperfCommand
$this->line('');
$this->warn('Please change the default password after first login!');
$this->call('route:sync');
$this->call('route-group:seed');
return 0;
} catch (\Exception $e) {
} catch (\Throwable $e) {
$this->error('Failed to create admin user: ' . $e->getMessage());
return 1;
}