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)