feat(admin): 订单详情查找订阅链接支持一键绑定(携带 attach_order_id)
This commit is contained in:
@@ -279,6 +279,9 @@
|
||||
$missingSubscriptionHelpUrl = \App\Support\BackUrl::withBack('/admin/site-subscriptions?' . \Illuminate\Support\Arr::query([
|
||||
'merchant_id' => (int) ($order->merchant_id ?? 0) ?: null,
|
||||
'plan_id' => (int) ($order->plan_id ?? 0) ?: null,
|
||||
// 从订单详情跳过去挑订阅:在订阅列表行内提供“一键绑定到该订单”按钮
|
||||
'attach_order_id' => (int) ($order->id ?? 0) ?: null,
|
||||
'attach_back' => $orderShowSelf,
|
||||
'page' => null,
|
||||
]), $orderShowSelf);
|
||||
}
|
||||
@@ -439,6 +442,9 @@
|
||||
$missingSubHelpUrlForRelationBlock = \App\Support\BackUrl::withBack('/admin/site-subscriptions?' . \Illuminate\Support\Arr::query([
|
||||
'merchant_id' => (int) ($order->merchant_id ?? 0) ?: null,
|
||||
'plan_id' => (int) ($order->plan_id ?? 0) ?: null,
|
||||
// 从订单详情跳过去挑订阅:在订阅列表行内提供“一键绑定到该订单”按钮
|
||||
'attach_order_id' => (int) ($order->id ?? 0) ?: null,
|
||||
'attach_back' => $orderShowSelf,
|
||||
'page' => null,
|
||||
]), $orderShowSelf);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user