fix(admin): Fix order assignment issue in admin panel

This commit is contained in:
xboard committed 2025-05-08 22:14:56 +08:00
1 parent 61d8c0ed66
commit 7b45351f99
4 files changed
+7 -7

No files matched your search

@@ -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');