Browse Source

[停车][修改]:异常处理

release_toaliyun_real
Stormeye Wu 6 years ago
parent
commit
a5658615d1
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      mallinkService/src/main/java/com/iformall/utils/car/ShangAnUtil.java

+ 2
- 2
mallinkService/src/main/java/com/iformall/utils/car/ShangAnUtil.java View File

@@ -111,10 +111,10 @@ public class ShangAnUtil {
try {
String result = Proc(url, key, parkNumber, params);
if(result == null) {
throw new MallinkException(ErrorCode.ETCP_CMD_FAIL);
throw new MallinkException(ErrorCode.SHANGAN_CMD_FAIL);
}
if(checkRespFailed(result)) {
throw new MallinkException(ErrorCode.ETCP_CMD_FAIL);
throw new MallinkException(ErrorCode.SHANGAN_CMD_FAIL);
}
return result;
} catch (Exception e) {


Loading…
Cancel
Save