修改物流

This commit is contained in:
2023-05-19 16:39:08 +08:00
parent 593ca490ec
commit 029c6249fd
6 changed files with 111 additions and 25 deletions
@@ -125,6 +125,7 @@ class getPrescriptionOrderStatusCommand extends HyperfCommand
// 获取对应快递公司编码
$logistics_company_code = $this->getLogisticsCompanyCode($result['logisticsCompany']);
if (empty($logistics_company_code)){
Db::rollBack();
$this->line("处方平台已发货,快递公司编码识别失败!");
continue;
}
@@ -135,7 +136,7 @@ class getPrescriptionOrderStatusCommand extends HyperfCommand
// 检测物流编号是否已经存在并订阅
if (empty($item['logistics_no']) || $item['logistics_no'] != $result['deliveryId']){
$this->line("开始推送消息");
$this->line("开始订阅快递推送");
// 订阅快递推送
$Kuaidi = new Kuaidi();