feat(platform-orders): 列表展示最近批量生效信息

This commit is contained in:
萝卜
2026-03-10 15:27:44 +00:00
parent 852a6dbf3e
commit 1792d0bffd
2 changed files with 39 additions and 0 deletions

View File

@@ -33,6 +33,7 @@ class AdminPlatformOrderTest extends TestCase
->assertSee('平台订单列表')
->assertSee('失败原因')
->assertSee('最近批量同步')
->assertSee('最近批量生效')
->assertSee('最近24小时批量同步过')
->assertSee('可同步订单')
->assertSee('近24小时批量同步')
@@ -230,6 +231,11 @@ class AdminPlatformOrderTest extends TestCase
'synced_at' => now()->toDateTimeString(),
'admin_id' => 1,
],
'batch_mark_activated' => [
'at' => '2026-03-10 00:00:01',
'admin_id' => 1,
'scope' => 'filtered',
],
'audit' => [
[
'action' => 'batch_activate_subscription',
@@ -244,6 +250,7 @@ class AdminPlatformOrderTest extends TestCase
$this->get('/admin/platform-orders')
->assertOk()
->assertSee('2026-03-10 00:00:00')
->assertSee('2026-03-10 00:00:01')
->assertSee('管理员1');
// 最近24小时批量同步筛选构造一条近24h一条超过24h