This commit is contained in:
root
2019-11-24 23:38:19 +08:00
parent b37714cf3e
commit 4ba7024cb8
3 changed files with 7 additions and 4 deletions

View File

@ -40,6 +40,7 @@ class OrderController extends Controller
abort(500, '订单不存在');
}
$order['plan'] = Plan::find($order->plan_id);
$order['upgrade_fee'] = config('v2board.upgrade_fee', 0.5);
if (!$order['plan']) {
abort(500, '订阅不存在');
}