修改物流发货信息推送
This commit is contained in:
parent
a638b6263f
commit
360ce63073
@ -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']);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user