mirror of
https://github.com/v2board/v2board.git
synced 2025-02-10 15:39:14 +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'));
|
||||
}
|
||||
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([
|
||||
'data' => $order
|
||||
|
@ -32,6 +32,11 @@ class MGate {
|
||||
'label' => 'AppSecret',
|
||||
'description' => '',
|
||||
'type' => 'input',
|
||||
],
|
||||
'notify_domain' => [
|
||||
'label' => '通知域名(选填)',
|
||||
'description' => '用于接收来自网关的支付通知',
|
||||
'type' => 'input'
|
||||
]
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user