|
|
@@ -39,6 +39,8 @@ class LiveOrderClass extends BaseClass
|
|
|
$itemName = $product->name ?? '';
|
|
|
$itemCover = $product->cover ?? '';
|
|
|
$customList = $params['customList'];
|
|
|
+ $staffId = $params['staffId'] ?? 0;
|
|
|
+ $staffName = $params['staffName'] ?? '';
|
|
|
$customNum = count($customList);
|
|
|
$itemNum = 0;
|
|
|
foreach ($customList as $custom) {
|
|
|
@@ -55,6 +57,8 @@ class LiveOrderClass extends BaseClass
|
|
|
'customNum' => $customNum,
|
|
|
'itemNum' => $itemNum,
|
|
|
'orderSn' => $orderSn,
|
|
|
+ 'staffId' => $staffId,
|
|
|
+ 'staffName' => $staffName,
|
|
|
];
|
|
|
self::add($liveData, true);
|
|
|
$ids = array_column($customList, 'customId');
|