diff --git a/app/controller/api/store/order/StoreProcessing.php b/app/controller/api/store/order/StoreProcessing.php index 7a197c02..e42bc538 100755 --- a/app/controller/api/store/order/StoreProcessing.php +++ b/app/controller/api/store/order/StoreProcessing.php @@ -26,6 +26,8 @@ class StoreProcessing extends BaseController if (!$store_group_order_other) { unset($store_group_order['group_order_id']); $group_order_id = Db::name('store_group_order_other')->strict(false)->insertGetId($store_group_order); + }else{ + $group_order_id=$store_group_order_other['group_order_id']; } $select = Db::name('store_order_product')->where('order_id', $order['order_id'])->select(); if ($order['source'] == 103 ||$order['source'] == 105 && $select) {