feat: 完善前置订单下单api
parent
a7ef54db77
commit
cc9ad0f201
|
@ -927,6 +927,7 @@ class OrderLogic extends Logic
|
|||
$order_data['is_frontend'] = 0;
|
||||
if (!empty($post['is_frontend'])) {
|
||||
$order_data['is_frontend'] = 1;
|
||||
$order_data['order_status'] = OrderEnum::ORDER_STATUS_DELIVERY;
|
||||
$order_data['pay_status'] = OrderEnum::PAY_STATUS_PAID;
|
||||
$order_data['pay_way'] = OrderEnum::PAY_WAY_OFFLINE;
|
||||
$order_data['pay_time'] = time();
|
||||
|
|
Loading…
Reference in New Issue