|
|
@@ -49,7 +49,7 @@ public class CommonController
|
|
|
}
|
|
|
String realFileName = System.currentTimeMillis() + fileName.substring(fileName.indexOf("_") + 1);
|
|
|
String filePath = RuoYiConfig.getDownloadPath() + fileName;
|
|
|
-
|
|
|
+ log.info(filePath);
|
|
|
response.setContentType(MediaType.APPLICATION_OCTET_STREAM_VALUE);
|
|
|
FileUtils.setAttachmentResponseHeader(response, realFileName);
|
|
|
FileUtils.writeBytes(filePath, response.getOutputStream());
|