From 65daf0ce096d3cbd86269dd6ef5233c95ebc19f4 Mon Sep 17 00:00:00 2001 From: chengqf <584883665@139.com> Date: Tue, 18 Apr 2023 21:03:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=B8=8B=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/glxp/api/idc/service/impl/FileServiceImpl.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/java/com/glxp/api/idc/service/impl/FileServiceImpl.java b/src/main/java/com/glxp/api/idc/service/impl/FileServiceImpl.java index 317efb9c..deaa2d4d 100644 --- a/src/main/java/com/glxp/api/idc/service/impl/FileServiceImpl.java +++ b/src/main/java/com/glxp/api/idc/service/impl/FileServiceImpl.java @@ -89,7 +89,6 @@ public class FileServiceImpl implements FileService { if(!isExists) return ResultVOUtils.error(9999,filePath + filePathSlash + imagePath + strs[0]); String result = relayFile(files,host); - logger.error(result); if (IDCUtils.isJson(result)) { BaseResponse baseResponse = JSON.parseObject(result,BaseResponse.class); return baseResponse; @@ -219,7 +218,6 @@ public class FileServiceImpl implements FileService { try { Response response = client.newCall(req).execute(); result = response.body().string(); - logger.info("result--->" + result); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); @@ -231,10 +229,9 @@ public class FileServiceImpl implements FileService { return result; } - @Override public BaseResponse downloadFile(HttpServletRequest request,Map params) { - String host = ""; + String host = ""; try { Map config =dbDao.get("select paramValue from system_param_config where paramKey='upper_server_ip'"); if(config!=null&&config.get("paramValue")!=null)