新增 UsdtC2C Resource 与页面

This commit is contained in:
2025-06-10 08:26:54 +07:00
parent 4630421e08
commit 827a0e8133
38 changed files with 3532 additions and 31 deletions
+14 -8
View File
@@ -8,16 +8,22 @@
class DatabaseSeeder extends Seeder
{
public function run(): void
{
$this->call(UsdtC2cSeeder::class);
}
/**
* Seed the application's database.
*/
public function run(): void
{
// User::factory(10)->create();
// public function run(): void
// {
// // User::factory(10)->create();
User::factory()->create([
'name' => 'Test User',
'email' => 'test@example.com',
]);
}
// User::factory()->create([
// 'name' => 'Test User',
// 'email' => 'test@example.com',
// ]);
// }
}
+22
View File
@@ -0,0 +1,22 @@
<?php
namespace Database\Seeders;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use App\Models\UsdtC2c;
class UsdtC2cSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
UsdtC2c::create([
'Currency' => 'LAK',
'Highest' => 27000.12345678,
'Million' => 270000000.12345678,
]);
}
}