diff --git a/resources/views/admin/platform_orders/index.blade.php b/resources/views/admin/platform_orders/index.blade.php
index 00fd13e..3fe6668 100644
--- a/resources/views/admin/platform_orders/index.blade.php
+++ b/resources/views/admin/platform_orders/index.blade.php
@@ -46,7 +46,11 @@
|
BMPA失败
|
+ 近24小时批量同步
+ |
近24小时批量BMPA
+ |
+ 近24小时批量生效
diff --git a/tests/Feature/AdminPlatformOrderQuickFilterBatchActivated24hLinkTest.php b/tests/Feature/AdminPlatformOrderQuickFilterBatchActivated24hLinkTest.php
new file mode 100644
index 0000000..c1dc661
--- /dev/null
+++ b/tests/Feature/AdminPlatformOrderQuickFilterBatchActivated24hLinkTest.php
@@ -0,0 +1,31 @@
+seed();
+
+ $this->post('/admin/login', [
+ 'email' => 'platform.admin@demo.local',
+ 'password' => 'Platform@123456',
+ ])->assertRedirect('/admin');
+ }
+
+ public function test_platform_orders_page_has_quick_filter_for_batch_activated_24h(): void
+ {
+ $this->loginAsPlatformAdmin();
+
+ $this->get('/admin/platform-orders')
+ ->assertOk()
+ ->assertSee('/admin/platform-orders?batch_mark_activated_24h=1', false)
+ ->assertSee('近24小时批量生效', false);
+ }
+}
diff --git a/tests/Feature/AdminPlatformOrderQuickFilterBatchSynced24hLinkTest.php b/tests/Feature/AdminPlatformOrderQuickFilterBatchSynced24hLinkTest.php
new file mode 100644
index 0000000..1cd996c
--- /dev/null
+++ b/tests/Feature/AdminPlatformOrderQuickFilterBatchSynced24hLinkTest.php
@@ -0,0 +1,31 @@
+seed();
+
+ $this->post('/admin/login', [
+ 'email' => 'platform.admin@demo.local',
+ 'password' => 'Platform@123456',
+ ])->assertRedirect('/admin');
+ }
+
+ public function test_platform_orders_page_has_quick_filter_for_batch_synced_24h(): void
+ {
+ $this->loginAsPlatformAdmin();
+
+ $this->get('/admin/platform-orders')
+ ->assertOk()
+ ->assertSee('/admin/platform-orders?batch_synced_24h=1', false)
+ ->assertSee('近24小时批量同步', false);
+ }
+}