mirror of
https://github.com/v2board/v2board.git
synced 2025-02-10 23:49:12 +08:00
update: fix order/detail
This commit is contained in:
parent
adc9e9e241
commit
13327d004d
@ -61,7 +61,7 @@ class OrderController extends Controller
|
|||||||
abort(500, __('Subscription plan does not exist'));
|
abort(500, __('Subscription plan does not exist'));
|
||||||
}
|
}
|
||||||
if ($order->surplus_order_ids) {
|
if ($order->surplus_order_ids) {
|
||||||
$order['surplus_orders'] = Order::whereIn(id, $order->surplus_order_ids)->get();
|
$order['surplus_orders'] = Order::whereIn('id', $order->surplus_order_ids)->get();
|
||||||
}
|
}
|
||||||
return response([
|
return response([
|
||||||
'data' => $order
|
'data' => $order
|
||||||
|
@ -32,6 +32,11 @@ class MGate {
|
|||||||
'label' => 'AppSecret',
|
'label' => 'AppSecret',
|
||||||
'description' => '',
|
'description' => '',
|
||||||
'type' => 'input',
|
'type' => 'input',
|
||||||
|
],
|
||||||
|
'notify_domain' => [
|
||||||
|
'label' => '通知域名(选填)',
|
||||||
|
'description' => '用于接收来自网关的支付通知',
|
||||||
|
'type' => 'input'
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user