From c455b4d528ed25bb6227d27be6397d5c3119a450 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=9D=E5=8D=9C?= Date: Wed, 11 Mar 2026 03:27:10 +0000 Subject: [PATCH] =?UTF-8?q?feat(admin):=20=E8=AE=A2=E5=8D=95=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E5=85=B3=E8=81=94=E8=AE=A2=E9=98=85=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=8F=AF=E5=90=8C=E6=AD=A5=E8=AE=A2=E5=8D=95=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/admin/platform_orders/show.blade.php | 8 ++++++++ tests/Feature/AdminPlatformOrderShowTest.php | 1 + 2 files changed, 9 insertions(+) diff --git a/resources/views/admin/platform_orders/show.blade.php b/resources/views/admin/platform_orders/show.blade.php index e58fd1c..c242439 100644 --- a/resources/views/admin/platform_orders/show.blade.php +++ b/resources/views/admin/platform_orders/show.blade.php @@ -132,6 +132,14 @@ @endphp 打开订阅详情 + @php + $openSubSyncableUrl = '/admin/site-subscriptions/' . $order->siteSubscription->id . '?' . \Illuminate\Support\Arr::query([ + 'back' => $subBack, + 'order_sync_status' => 'syncable', + ]); + @endphp + 查看可同步订单 + 同站点订阅 同套餐订阅 diff --git a/tests/Feature/AdminPlatformOrderShowTest.php b/tests/Feature/AdminPlatformOrderShowTest.php index 79e8ce4..2e3c60b 100644 --- a/tests/Feature/AdminPlatformOrderShowTest.php +++ b/tests/Feature/AdminPlatformOrderShowTest.php @@ -105,6 +105,7 @@ class AdminPlatformOrderShowTest extends TestCase ->assertSee('关联订阅') ->assertSee('打开订阅详情') ->assertSee('/admin/site-subscriptions/' . $sub->id . '?back=' . urlencode('/admin/platform-orders/' . $order->id), false) + ->assertSee('order_sync_status=syncable') ->assertSee('审计记录') ->assertSee('清除同步失败标记'); }