From 695110cb59ca54543a20c92dcf79887eef4cdecb Mon Sep 17 00:00:00 2001 From: luofei <604446095@qq.com> Date: Fri, 2 Feb 2024 15:02:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=87=87=E8=B4=AD=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E5=86=99=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/store/order/StoreProcessing.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/controller/api/store/order/StoreProcessing.php b/app/controller/api/store/order/StoreProcessing.php index 752a5f9a..8ade8c72 100755 --- a/app/controller/api/store/order/StoreProcessing.php +++ b/app/controller/api/store/order/StoreProcessing.php @@ -55,6 +55,9 @@ class StoreProcessing extends BaseController $arr[$key]['total_price'] = $arr[$key]['product_price']; $arr[$key]['pay_price'] = $arr[$key]['product_price']; $arr[$key]['product_id'] = $value['product_source_id']; + $arr[$key]['uid'] = $merchant_two['uid']; + $arr[$key]['product_source_id'] = 0; + $arr[$key]['product_mer_id'] = 0; unset($arr[$key]['order_product_id']); Db::name('store_product')->where('product_id',$value['product_source_id'])->dec('stock'); }