shish hace 3 años
padre
commit
f4bda1487e
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      biz-hd/purchase/services/PurchaseService.php

+ 4 - 0
biz-hd/purchase/services/PurchaseService.php

@@ -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;