|
|
@@ -94,6 +94,7 @@ class OrderController extends BaseController
|
|
|
$post['shopAdminId'] = $this->shopAdminId;
|
|
|
$shopAdmin = $this->shopAdmin;
|
|
|
$post['shopAdminName'] = $shopAdmin['name'] ?? '';
|
|
|
+ $post['merchantId'] = $this->sjId;
|
|
|
$post['shopId'] = $shopId;
|
|
|
$post['payWay'] = $this->isWx == true ? 0 : 1;
|
|
|
$post['merchantId'] = $this->sjId;
|
|
|
@@ -115,7 +116,7 @@ class OrderController extends BaseController
|
|
|
//判断花材有效性
|
|
|
ProductClass::valid($productList, $this->shopId);
|
|
|
$post['product'] = $productList;
|
|
|
- $return = OrderService::createOrder($post);
|
|
|
+ $return = OrderService::createOrder($post, $custom);
|
|
|
$transaction->commit();
|
|
|
util::success($return);
|
|
|
} catch (\Exception $e) {
|