mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update
This commit is contained in:
parent
415850184e
commit
32795cf541
@ -47,11 +47,8 @@ class OrderController extends Controller
|
||||
abort(500, '订单不存在');
|
||||
}
|
||||
$order['plan'] = Plan::find($order->plan_id);
|
||||
$order['try_out'] = [
|
||||
'try_out_enable' => (int)config('v2board.try_out_enable', 0),
|
||||
'try_out_plan_id' => (int)config('v2board.try_out_plan_id'),
|
||||
'plan_transfer_hour' => config('v2board.plan_transfer_hour', 12)
|
||||
];
|
||||
$order['plan_transfer_hour'] = config('v2board.plan_transfer_hour', 12);
|
||||
$order['try_out_plan_id'] = (int)config('v2board.try_out_plan_id');
|
||||
if (!$order['plan']) {
|
||||
abort(500, '订阅不存在');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user