|
|
@@ -29,8 +29,6 @@ class OrderGoodsClass extends BaseClass
|
|
|
|
|
|
$goodsId = $goods->goodsId ?? 0;
|
|
|
$num = $goods->num ?? 0;
|
|
|
- $kindId = $goods->kindId ?? 0;
|
|
|
- $kindName = $goods->kindName ?? '';
|
|
|
$orderPrice = $order->orderPrice ?? 0;
|
|
|
$fromType = $order->fromType ?? 1;
|
|
|
$remark = $order->remark ?? '';
|
|
|
@@ -43,7 +41,7 @@ class OrderGoodsClass extends BaseClass
|
|
|
$sendNum = $order->sendNum ?? '';
|
|
|
$params = ['orderId' => $orderId, 'orderSn' => $orderSn, 'shopId' => $shopId, 'sendType' => $sendType, 'thirdSn' => $thirdSn, 'cardInfo' => $cardInfo, 'anonymity' => $anonymity,
|
|
|
'fromType' => $fromType, 'orderPrice' => $orderPrice, 'remark' => $remark, 'orderDebtPrice' => $orderDebtPrice, 'manyType' => $manyType, 'sendNum' => $sendNum,
|
|
|
- 'kindId' => $kindId, 'kindName' => $kindName];
|
|
|
+ ];
|
|
|
$flower = $goods->flower ?? 0;
|
|
|
//鲜花类不需要验证库存,库存可以负数,并相应生成制作单
|
|
|
$checkStock = $flower == 0 ? true : false;
|