|
|
@ -27,11 +27,13 @@ public class HttpTBasicServiceImpl implements HttpTBasicService {
|
|
|
|
List<TBasicDto> tBasicDtos=null;
|
|
|
|
List<TBasicDto> tBasicDtos=null;
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
//发送get请求获取返货值
|
|
|
|
//发送get请求获取返货值
|
|
|
|
|
|
|
|
log.info("发送请求开始");
|
|
|
|
String resultStr = HttpUtil.get(url, headers, params);
|
|
|
|
String resultStr = HttpUtil.get(url, headers, params);
|
|
|
|
|
|
|
|
|
|
|
|
//解析返货值字符串
|
|
|
|
//解析返货值字符串
|
|
|
|
|
|
|
|
log.info("解析开始");
|
|
|
|
tBasicDtos=parsing(resultStr);
|
|
|
|
tBasicDtos=parsing(resultStr);
|
|
|
|
|
|
|
|
log.info("解析tBasicDtos"+tBasicDtos!=null? ((Integer) tBasicDtos.size()).toString() :"0"+"条");
|
|
|
|
}catch (Exception e){
|
|
|
|
}catch (Exception e){
|
|
|
|
log.error(e.getMessage(),e);
|
|
|
|
log.error(e.getMessage(),e);
|
|
|
|
}
|
|
|
|
}
|
|
|
|