文件下载

master
chengqf 2 years ago
parent 0e7b269e1e
commit 65daf0ce09

@ -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,7 +229,6 @@ public class FileServiceImpl implements FileService {
return result;
}
@Override
public BaseResponse downloadFile(HttpServletRequest request,Map<String,Object> params) {
String host = "";

Loading…
Cancel
Save