修改物流发货信息推送

This commit is contained in:
wucongxing 2023-04-27 11:38:51 +08:00
parent a638b6263f
commit 360ce63073

View File

@ -87,8 +87,12 @@ class Kuaidi
throw new BusinessException(HttpEnumCode::getMessage(HttpEnumCode::SERVER_ERROR));
}
dump($body);
if ($body['returnCode'] != 200) {
// 重复订阅-不做处理
if ($body['returnCode'] == 501){
return $body;
}
// 请求失败
if (!empty($body['message'])) {
throw new BusinessException($body['message']);