修改物流
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user