6
0
Fork 0

调整seed

release
vine_liutk 2022-01-15 16:49:47 +08:00 committed by 李静
parent 17e2aeb42e
commit c37f4bd353
1 changed files with 4 additions and 2 deletions

View File

@ -14,14 +14,16 @@ class DatabaseSeeder extends Seeder
*/ */
public function run() public function run()
{ {
$this->call(AdminMenuSeeder::class); $this->call([
AdminMenuSeeder::class,
AppSettingSeeder::class,
]);
if (! App::isProduction()) { if (! App::isProduction()) {
$this->call([ $this->call([
AdminPermissionSeeder::class, AdminPermissionSeeder::class,
ProductPartSeeder::class, ProductPartSeeder::class,
ProductCategorySeeder::class, ProductCategorySeeder::class,
AdAddressSeeder::class, AdAddressSeeder::class,
AppSettingSeeder::class,
]); ]);
} }
} }