更新物流处理

This commit is contained in:
yaooo 2023-08-12 10:30:17 +08:00
parent e8f954287b
commit eeecb63b99

View File

@ -20,10 +20,10 @@ class DeliveryGoods
Log::info("============= handle监听order_id " . $this->event['order']['order_id']);
$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');
$logisticsCode = StoreOrder::where('order_id', $orderId)->value('logistics_code');