更新发生物流信息判断

This commit is contained in:
yaooo 2023-08-22 14:03:31 +08:00
parent b388287191
commit 45fb87ffa9

View File

@ -16,12 +16,14 @@ class SendGoodsCode
{ {
$this->event = $event; $this->event = $event;
Log::info("sendGoodsCode ============= handle监听order_id " . $this->event['order_id']); Log::info("sendGoodsCode ============= handle监听order_id " . $this->event['order_id']);
//发起物流信息返回快递员手机 if ($this->event['activity_type'] == 0) {
$logisticsPhone = $this->sendLogistics($this->event['order_id'], $this->event['order_sn']); //发起物流信息返回快递员手机
//生成用户的收货码 $logisticsPhone = $this->sendLogistics($this->event['order_id'], $this->event['order_sn']);
$this->generateLogisticsCode($this->event['uid'], $this->event['order_id'], $this->event['order_sn'], $logisticsPhone); //生成用户的收货码
//记录订单收货地址记录 $this->generateLogisticsCode($this->event['uid'], $this->event['order_id'], $this->event['order_sn'], $logisticsPhone);
$this->recordOrderAddr($this->event); //记录订单收货地址记录
$this->recordOrderAddr($this->event);
}
} }
//订单收货记录 //订单收货记录