fix(platform-orders): include attach params in bmpa find-subscription link
This commit is contained in:
@@ -247,6 +247,9 @@
|
|||||||
$missingSubscriptionHelpUrl = \App\Support\BackUrl::withBack('/admin/site-subscriptions?' . \Illuminate\Support\Arr::query([
|
$missingSubscriptionHelpUrl = \App\Support\BackUrl::withBack('/admin/site-subscriptions?' . \Illuminate\Support\Arr::query([
|
||||||
'merchant_id' => (int) ($order->merchant_id ?? 0) ?: null,
|
'merchant_id' => (int) ($order->merchant_id ?? 0) ?: null,
|
||||||
'plan_id' => (int) ($order->plan_id ?? 0) ?: null,
|
'plan_id' => (int) ($order->plan_id ?? 0) ?: null,
|
||||||
|
// 从订单详情跳过去挑订阅:在订阅列表行内提供“一键绑定到该订单”按钮
|
||||||
|
'attach_order_id' => (int) ($order->id ?? 0) ?: null,
|
||||||
|
'attach_back' => $orderShowSelf,
|
||||||
'page' => null,
|
'page' => null,
|
||||||
]), $orderShowSelf);
|
]), $orderShowSelf);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user