From 7085bb60abdf51b4f676212a7fc8026ef6a95b5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=9D=E5=8D=9C?= Date: Sun, 15 Mar 2026 03:27:35 +0000 Subject: [PATCH] =?UTF-8?q?=E5=B9=B3=E5=8F=B0=E8=AE=A2=E5=8D=95=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E8=AE=A2=E9=98=85=E9=94=81=E5=AE=9A=E7=BB=AD=E8=B4=B9?= =?UTF-8?q?=E5=85=A5=E5=8F=A3=E8=A1=A5=E9=BD=90=20require=5Fsubscription?= =?UTF-8?q?=3D1=20=E5=B9=B6=E6=9B=B4=E6=96=B0=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/admin/platform_orders/index.blade.php | 1 + .../AdminPlatformOrderIndexSubscriptionContextRenewLinkTest.php | 1 + 2 files changed, 2 insertions(+) diff --git a/resources/views/admin/platform_orders/index.blade.php b/resources/views/admin/platform_orders/index.blade.php index 0e52abd..0b26612 100644 --- a/resources/views/admin/platform_orders/index.blade.php +++ b/resources/views/admin/platform_orders/index.blade.php @@ -158,6 +158,7 @@ 'site_subscription_id' => $currentSubscription->id, 'merchant_id' => $currentSubscription->merchant_id, 'plan_id' => $currentSubscription->plan_id, + 'require_subscription' => '1', 'quantity' => 1, 'remark' => $renewRemarkPrefix . $currentSubscription->subscription_no, 'back' => $selfWithoutBack, diff --git a/tests/Feature/AdminPlatformOrderIndexSubscriptionContextRenewLinkTest.php b/tests/Feature/AdminPlatformOrderIndexSubscriptionContextRenewLinkTest.php index 77ebc7b..6f6e10c 100644 --- a/tests/Feature/AdminPlatformOrderIndexSubscriptionContextRenewLinkTest.php +++ b/tests/Feature/AdminPlatformOrderIndexSubscriptionContextRenewLinkTest.php @@ -68,6 +68,7 @@ class AdminPlatformOrderIndexSubscriptionContextRenewLinkTest extends TestCase 'site_subscription_id' => $sub->id, 'merchant_id' => $merchant->id, 'plan_id' => $plan->id, + 'require_subscription' => '1', 'quantity' => 1, 'remark' => config('saasshop.platform_orders.renewal_order_remark_prefix', '来自订阅:') . $sub->subscription_no, 'back' => $expectedBack,