Browse Source

[停车][异常]:兼容

release_toaliyun_real
Stormeye Wu 6 years ago
parent
commit
d526a625f6
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      mallinkService/src/main/java/com/iformall/utils/car/BoLinkUtil.java

+ 4
- 0
mallinkService/src/main/java/com/iformall/utils/car/BoLinkUtil.java View File

@@ -219,6 +219,10 @@ public class BoLinkUtil {

//打印StatusLine
logger.debug("StatusLine: " + response.getStatusLine());
if (response.getStatusLine().getStatusCode() != 200) {
logger.error("status error: " + response.getStatusLine().getReasonPhrase());
throw new MallinkException(ErrorCode.CAR_CMD_FAIL);
}
try{
//获取实体
HttpEntity httpEntity= response.getEntity();


Loading…
Cancel
Save