更新
This commit is contained in:
parent
0a8914049b
commit
e9df9a0d61
@ -18,7 +18,9 @@ class SendGoodsCode
|
|||||||
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 || in_array($this->event['source'], [0,2,103])) {
|
if ($this->event['activity_type'] == 0 || in_array($this->event['source'], [0,2,103])) {
|
||||||
//发起物流信息返回快递员手机
|
//发起物流信息返回快递员手机
|
||||||
$logisticsPhone = $this->sendLogistics($this->event['order_id'], $this->event['order_sn']);
|
if($this->event['activity_type'] !=98){
|
||||||
|
$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);
|
||||||
}
|
}
|
||||||
|
@ -32,7 +32,9 @@ class SendGoodsCodeJob implements JobInterface
|
|||||||
try {
|
try {
|
||||||
if ($this->event['activity_type'] == 0 || in_array($this->event['source'], [0,2,103])) {
|
if ($this->event['activity_type'] == 0 || in_array($this->event['source'], [0,2,103])) {
|
||||||
//发起物流信息返回快递员手机
|
//发起物流信息返回快递员手机
|
||||||
$logisticsPhone = $this->sendLogistics($this->event['order_id'], $this->event['order_sn']);
|
if($this->event['activity_type'] !=98){
|
||||||
|
$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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user