From 43f03931a6e78b9eb66a953a0bc1a96234af5caf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=9D=E5=8D=9C?= Date: Wed, 11 Mar 2026 01:51:09 +0000 Subject: [PATCH] =?UTF-8?q?fix(admin):=20=E5=B9=B3=E5=8F=B0=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E5=88=97=E8=A1=A8=E8=A1=8C=E5=86=85=E7=AD=9B=E9=80=89?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=E4=BF=9D=E7=95=99=E4=B8=8A=E4=B8=8B=E6=96=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/admin/platform_orders/index.blade.php | 6 +++--- tests/Feature/AdminPlatformOrderTest.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/views/admin/platform_orders/index.blade.php b/resources/views/admin/platform_orders/index.blade.php index 6f35ebe..c15319b 100644 --- a/resources/views/admin/platform_orders/index.blade.php +++ b/resources/views/admin/platform_orders/index.blade.php @@ -441,7 +441,7 @@ {{ $order->order_no }} @if($order->merchant) - {{ $order->merchant->name }} + {{ $order->merchant->name }} @else 未关联站点 @endif @@ -449,7 +449,7 @@ @php $planName = $order->plan_name ?: ($order->plan?->name ?? '未设置'); @endphp @if($order->plan) - {{ $planName }} + {{ $planName }} @else {{ $planName }} @endif @@ -486,7 +486,7 @@ {{ $order->siteSubscription->subscription_no }}
- 订阅ID:{{ $order->siteSubscription->id }} + 订阅ID:{{ $order->siteSubscription->id }}
@else - diff --git a/tests/Feature/AdminPlatformOrderTest.php b/tests/Feature/AdminPlatformOrderTest.php index 3b4f73b..e6503b8 100644 --- a/tests/Feature/AdminPlatformOrderTest.php +++ b/tests/Feature/AdminPlatformOrderTest.php @@ -232,7 +232,7 @@ class AdminPlatformOrderTest extends TestCase ->assertSee('SUB_LINK_0001') ->assertSee('/admin/site-subscriptions/' . $sub->id) ->assertSee('订阅ID:') - ->assertSee('/admin/platform-orders?site_subscription_id=' . $sub->id); + ->assertSee('site_subscription_id=' . $sub->id); // 只看已同步:构造一条带有 subscription_activation 的订单 + 批量同步审计(用于列表展示) PlatformOrder::query()->where('order_no', 'PO202603100101')->update([