update email template

This commit is contained in:
baodev0
2026-09-09 16:56:22 +07:00
parent d3d9f76ba0
commit 2365ef72e9
210 changed files with 6335 additions and 4688 deletions
+57 -11
View File
@@ -14,16 +14,62 @@ class AdminSeeder extends Seeder
*/
public function run(): void
{
DB::table('user')->insert([
'firstname' => 'Admin',
'lastname' => 'System',
'username' => 'admin',
'email' => 'admin@tgs.com.vn',
'email_verified_at' => now(),
'password' => Hash::make('!admin@123!@#'),
'status' => 1,
'created_at' => now(),
'updated_at' => now(),
]);
$users = [
[
'fullname' => 'Admin',
'username' => 'admin',
'email' => 'admin@tgs.com.vn',
'password' => '!admin@123!@#',
],
[
'fullname' => 'Nguyễn Cao Luyện',
'username' => 'nguyencaoluyen',
'email' => 'nguyencaoluyen@tgs.com.vn',
'password' => 'nguyencaoluyen@123(#*',
],
[
'fullname' => 'Trương Văn Phương',
'username' => 'truongvanphuong',
'email' => 'truongvanphuong@tgs.com.vn',
'password' => 'truongvanphuong@123(#*',
],
[
'fullname' => 'Nguyễn Thị Thêm',
'username' => 'nguyenthithem',
'email' => 'nguyenthithem@tgs.com.vn',
'password' => 'nguyenthithem@123(#*',
],
[
'fullname' => 'Đỗ Thị Vân Anh',
'username' => 'dothivanan',
'email' => 'dothivanan@tgs.com.vn',
'password' => 'dothivanan@123(#*',
],
[
'fullname' => 'Lê Huỳnh Ngọc Thảo',
'username' => 'lehuynhngocthao',
'email' => 'lehuynhngocthao@tgs.com.vn',
'password' => 'lehuynhngocthao@123(#*',
],
[
'fullname' => 'Đinh Thanh Tùng',
'username' => 'dinhthanhtung',
'email' => 'dinhthanhtung@tgs.com.vn',
'password' => 'dinhthanhtung@123(#*',
],
];
foreach ($users as $user) {
DB::table('user')->insert([
'fullname' => $user['fullname'],
'username' => $user['username'],
'email' => $user['email'],
'email_verified_at' => now(),
'password' => Hash::make($user['password']),
'status' => 1,
'created_at' => now(),
'updated_at' => now(),
]);
}
}
}