mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-15 04:10:51 +08:00
fix(admin): Fix order assignment issue in admin panel
This commit is contained in:
@@ -221,7 +221,7 @@ class OrderController extends Controller
|
||||
$order->user_id = $user->id;
|
||||
$order->plan_id = $plan->id;
|
||||
$period = $request->input('period');
|
||||
$order->period = (int) PlanService::getPeriodKey((string) $period);
|
||||
$order->period = PlanService::getPeriodKey((string) $period);
|
||||
$order->trade_no = Helper::guid();
|
||||
$order->total_amount = $request->input('total_amount');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user