添加收货事件

main
home.fengxinyhyl 8 months ago
parent 3a10fa5402
commit b5d907fb46
  1. 3
      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)

Loading…
Cancel
Save