mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
fix order assign
This commit is contained in:
parent
af71ab8e27
commit
22643f04b1
@ -126,7 +126,6 @@ class OrderController extends Controller
|
|||||||
$order->trade_no = Helper::guid();
|
$order->trade_no = Helper::guid();
|
||||||
$order->total_amount = $request->input('total_amount');
|
$order->total_amount = $request->input('total_amount');
|
||||||
|
|
||||||
$order = $this->order;
|
|
||||||
if ($order->cycle === 'reset_price') {
|
if ($order->cycle === 'reset_price') {
|
||||||
$order->type = 4;
|
$order->type = 4;
|
||||||
} else if ($user->plan_id !== NULL && $order->plan_id !== $user->plan_id) {
|
} else if ($user->plan_id !== NULL && $order->plan_id !== $user->plan_id) {
|
||||||
|
Loading…
Reference in New Issue
Block a user