修复收货人手机为空异常
This commit is contained in:
parent
af562ee2b7
commit
3c51e97797
@ -51,7 +51,7 @@ class SendGoodsCode
|
|||||||
$phone = '';
|
$phone = '';
|
||||||
if (!empty($data) && is_string($data)) {
|
if (!empty($data) && is_string($data)) {
|
||||||
$logisticsInfo = json_decode($data, true);
|
$logisticsInfo = json_decode($data, true);
|
||||||
$phone = $logisticsInfo['data']['phone'];
|
$phone = $logisticsInfo['data']['phone'] ?? '';
|
||||||
Log::info("物流联系信息" . json_encode($logisticsInfo));
|
Log::info("物流联系信息" . json_encode($logisticsInfo));
|
||||||
}
|
}
|
||||||
return $phone;
|
return $phone;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user