feat: 项目基础框架+配置+Kernel

This commit is contained in:
testadmin
2026-04-29 05:35:00 +08:00
parent 6ce7adcbfb
commit 9a6151fce3
5082 changed files with 437062 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
<?php
use Illuminate\Database\Seeder;
class AdminTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$admin = new App\Admin();
$admin->username = 'admin';
$admin->password = App\Users::MakePassword('123456');
$admin->role_id = 1;
$admin->save();
}
}