From 2d5369eeab2d26004f1965693d1521897a7e4ff6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=9D=E5=8D=9C?= Date: Tue, 10 Mar 2026 15:36:59 +0000 Subject: [PATCH] =?UTF-8?q?feat(platform-orders):=20=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E9=A1=B5=E5=B1=95=E7=A4=BA=E6=9C=80=E8=BF=91=E6=89=B9=E9=87=8F?= =?UTF-8?q?=E7=94=9F=E6=95=88=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/platform_orders/show.blade.php | 19 +++++++++++++++++++ tests/Feature/AdminPlatformOrderShowTest.php | 1 + 2 files changed, 20 insertions(+) diff --git a/resources/views/admin/platform_orders/show.blade.php b/resources/views/admin/platform_orders/show.blade.php index d13bd7a..7b5479d 100644 --- a/resources/views/admin/platform_orders/show.blade.php +++ b/resources/views/admin/platform_orders/show.blade.php @@ -88,6 +88,25 @@ $audit = (array) (data_get($order->meta, 'audit', []) ?? []); @endphp +@php + $batchMarkActivated = (array) (data_get($order->meta, 'batch_mark_activated', []) ?? []); +@endphp + +
+

最近批量生效记录

+ @if((string) data_get($batchMarkActivated, 'at') !== '') + + + + + + +
生效时间{{ data_get($batchMarkActivated, 'at') }}
操作管理员{{ data_get($batchMarkActivated, 'admin_id') ?: '-' }}
范围{{ data_get($batchMarkActivated, 'scope') ?: '-' }}
+ @else +

暂无批量生效记录。

+ @endif +
+

订阅同步记录

@if($activation) diff --git a/tests/Feature/AdminPlatformOrderShowTest.php b/tests/Feature/AdminPlatformOrderShowTest.php index 4e95be6..0f2188f 100644 --- a/tests/Feature/AdminPlatformOrderShowTest.php +++ b/tests/Feature/AdminPlatformOrderShowTest.php @@ -99,6 +99,7 @@ class AdminPlatformOrderShowTest extends TestCase ->assertSee('PO_SHOW_0001') ->assertSee('标记支付并生效') ->assertSee('同步订阅') + ->assertSee('最近批量生效记录') ->assertSee('订阅同步元数据') ->assertSee('关联订阅') ->assertSee('打开订阅详情')