update backend route group
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user