From b5d907fb46d5922a719480c05d6f91a7085e39cf Mon Sep 17 00:00:00 2001 From: "home.fengxinyhyl" Date: Sat, 6 Apr 2024 21:31:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=94=B6=E8=B4=A7=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/repositories/store/order/StoreOrderRepository.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/common/repositories/store/order/StoreOrderRepository.php b/app/common/repositories/store/order/StoreOrderRepository.php index 97ec420..0ed3676 100755 --- a/app/common/repositories/store/order/StoreOrderRepository.php +++ b/app/common/repositories/store/order/StoreOrderRepository.php @@ -1360,6 +1360,8 @@ class StoreOrderRepository extends BaseRepository 'change_type' => $statusRepository::ORDER_STATUS_TAKE, ]; $statusRepository->createSysLog($orderStatus); + // 添加收货记录 + event('order.take', compact('order')); } if (isset($temp_code)) Queue::push(SendSmsJob::class, ['tempId' => $temp_code, 'id' => $order->order_id]); @@ -1950,6 +1952,7 @@ class StoreOrderRepository extends BaseRepository event('mini_order_shipping', ['product', $order, 7, '', '']); event('order.verify', compact('order')); + event('order.take', compact('order')); } public function wxQrcode($orderId, $order)