Parcourir la source

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

release_toaliyun_real
Stormeye Wu il y a 6 ans
Parent
révision
a5658615d1
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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 Voir le fichier

@@ -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) {


Chargement…
Annuler
Enregistrer