|
|
@@ -39,7 +39,7 @@ public class MhFileClient { |
|
|
|
private String fileDetailUrl; |
|
|
|
|
|
|
|
public void download(String fileId, HttpServletResponse response) { |
|
|
|
String fileUrl = fileDownUrl + fileId; |
|
|
|
String fileUrl = fileDownUrl + "/" + fileId; |
|
|
|
try (ServletOutputStream stream = response.getOutputStream()) { |
|
|
|
long size = HttpUtil.download(fileUrl, stream, true); |
|
|
|
log.info("下载文件:{},大小为:{}", fileId, size); |
|
|
|