|
|
@@ -59,6 +59,8 @@ class PurchaseService extends BaseService
|
|
|
$shopAdminName = $data['shopAdminName'] ?? '';
|
|
|
$sendType = $data['sendType'] ?? 1;
|
|
|
$couponId = $data['couponId'] ?? 0;
|
|
|
+ $wlId = $data['wlId'] ?? 0;
|
|
|
+ $wlName = $data['wlName'] ?? '';
|
|
|
$discountType = $respond->discountType ?? dict::getDict('discountType', 'noDiscount');
|
|
|
$discountAmount = $respond->discountAmount ?? 0;
|
|
|
$discount = $respond->discount ?? 0;
|
|
|
@@ -107,6 +109,8 @@ class PurchaseService extends BaseService
|
|
|
'orderType' => $orderType,
|
|
|
'fromType' => $fromType,
|
|
|
'presell' => $presell,
|
|
|
+ 'wlId' => $wlId,
|
|
|
+ 'wlName' => $wlName,
|
|
|
];
|
|
|
$result = OrderClass::addOrder($arr);
|
|
|
$saleId = $result['id'] ?? 0;
|