更新参数获取

This commit is contained in:
liu 2024-06-18 09:47:03 +08:00
parent 5091d0a6bb
commit 7d622b150e

View File

@ -172,7 +172,7 @@ class StoreOrderLogic extends BaseLogic
$goods_list = $orderInfo['cart_list'];
foreach ($goods_list as $k => $v) {
$goods_list[$k]['oid'] = $order['id'];
$goods_list[$k]['uid'] = 0;
$goods_list[$k]['uid'] = $user['id']??0;
$goods_list[$k]['cart_id'] = implode(',', $cartId);
$goods_list[$k]['delivery_id'] = $params['store_id']; //商家id
$stock = StoreBranchProduct::where('id',$v['branch_product_id'])->value('stock');