修改物流发货信息推送

This commit is contained in:
wucongxing 2023-04-27 13:31:36 +08:00
parent 048d647858
commit 0efcf2cbc8

View File

@ -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);