From 0efcf2cbc83f8760a299fa2528e40e15e6cdca4d Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Thu, 27 Apr 2023 13:31:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=89=A9=E6=B5=81=E5=8F=91?= =?UTF-8?q?=E8=B4=A7=E4=BF=A1=E6=81=AF=E6=8E=A8=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Command/getPrescriptionOrderStatusCommand.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Command/getPrescriptionOrderStatusCommand.php b/app/Command/getPrescriptionOrderStatusCommand.php index 9e43de2..752fff7 100644 --- a/app/Command/getPrescriptionOrderStatusCommand.php +++ b/app/Command/getPrescriptionOrderStatusCommand.php @@ -135,7 +135,7 @@ class getPrescriptionOrderStatusCommand extends HyperfCommand } // 检测物流编号是否已经存在并订阅 - if (empty($order_prescription['logistics_no']) || $order_prescription['logistics_no'] != $result['deliveryId']){ + if (empty($item['logistics_no']) || $item['logistics_no'] != $result['deliveryId']){ $this->line("开始推送消息"); // 订阅快递推送 @@ -201,6 +201,7 @@ class getPrescriptionOrderStatusCommand extends HyperfCommand 'patient_id', 'order_product_status', 'consignee_tel', + 'logistics_no', ]; $order_product = OrderProduct::getStatusList($params,$order_product_status,$fields);