更新发生物流信息判断
This commit is contained in:
parent
b388287191
commit
45fb87ffa9
@ -16,12 +16,14 @@ class SendGoodsCode
|
||||
{
|
||||
$this->event = $event;
|
||||
Log::info("sendGoodsCode ============= handle监听order_id " . $this->event['order_id']);
|
||||
//发起物流信息返回快递员手机
|
||||
$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->recordOrderAddr($this->event);
|
||||
if ($this->event['activity_type'] == 0) {
|
||||
//发起物流信息返回快递员手机
|
||||
$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->recordOrderAddr($this->event);
|
||||
}
|
||||
}
|
||||
|
||||
//订单收货记录
|
||||
|
Loading…
x
Reference in New Issue
Block a user