更新物流处理
This commit is contained in:
parent
e8f954287b
commit
eeecb63b99
@ -20,10 +20,10 @@ class DeliveryGoods
|
|||||||
Log::info("============= handle监听order_id " . $this->event['order']['order_id']);
|
Log::info("============= handle监听order_id " . $this->event['order']['order_id']);
|
||||||
$this->event = $event;
|
$this->event = $event;
|
||||||
//发生短信包含收货码
|
//发生短信包含收货码
|
||||||
$this->sendLogisticsCode($this->event['order']['uid'], $this->event['order']['order_id'], $this->event['order']['order_sn'], $logisticsPhone);
|
$this->sendLogisticsCode($this->event['order']['uid'], $this->event['order']['order_id'], $this->event['order']['order_sn']);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function sendLogisticsCode($uid, $orderId, $orderSn, $logisticsPhone) {
|
public function sendLogisticsCode($uid, $orderId, $orderSn) {
|
||||||
//收货人短信
|
//收货人短信
|
||||||
$phone = StoreOrder::where('order_id', $orderId)->value('user_phone');
|
$phone = StoreOrder::where('order_id', $orderId)->value('user_phone');
|
||||||
$logisticsCode = StoreOrder::where('order_id', $orderId)->value('logistics_code');
|
$logisticsCode = StoreOrder::where('order_id', $orderId)->value('logistics_code');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user