mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	update: fix order/detail
This commit is contained in:
		| @@ -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' | ||||||
|             ] |             ] | ||||||
|         ]; |         ]; | ||||||
|     } |     } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user