From b6091471729da068b2374ee7403c188bc6d7ce7f Mon Sep 17 00:00:00 2001 From: wangxiaowei Date: Sat, 28 Sep 2024 09:36:22 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/command/OrderClose.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/command/OrderClose.php b/app/common/command/OrderClose.php index 6e013f8c..4dbe7ae6 100755 --- a/app/common/command/OrderClose.php +++ b/app/common/command/OrderClose.php @@ -65,8 +65,8 @@ class OrderClose extends Command } foreach ($order['orderGoods'] as $order_goods) { - trace('type= ' . $order['order_type']); if($order['order_type'] == 4){ + trace('item_id= ' . $order_goods['item_id']); $res = GroupbuyGoods::where(['item_id' => $order_goods['item_id']])->inc('stock', $order_goods['goods_num'])->update(); trace('type= ' . json_encode($res)); }