Просмотр исходного кода

[etcp][修改]:etcp异常修复

release_toaliyun_real
Stormeye Wu 7 лет назад
Родитель
Сommit
d944334d44
1 измененных файлов: 3 добавлений и 3 удалений
  1. +3
    -3
      mallinkService/src/main/java/com/iformall/utils/ETCPUtil.java

+ 3
- 3
mallinkService/src/main/java/com/iformall/utils/ETCPUtil.java Просмотреть файл

@@ -907,7 +907,7 @@ public class ETCPUtil {
logger.info("post接口响应信息为:{}", responseStr); logger.info("post接口响应信息为:{}", responseStr);
return responseStr; return responseStr;
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace();
logger.error(e.getMessage());
} }
return null; return null;
} }
@@ -924,7 +924,7 @@ public class ETCPUtil {
logger.info("get请求接口响应信息为:{}", responseStr); logger.info("get请求接口响应信息为:{}", responseStr);
return responseStr; return responseStr;
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace();
logger.error(e.getMessage());
} }
return null; return null;
} }
@@ -952,7 +952,7 @@ public class ETCPUtil {
sb.append(Integer.toHexString(val)); sb.append(Integer.toHexString(val));
} }
} catch (Exception ex) { } catch (Exception ex) {
logger.error(ex.getMessage());
} }
return sb.toString().toUpperCase(); return sb.toString().toUpperCase();
} }


Загрузка…
Отмена
Сохранить