change преди 4 години
родител
ревизия
45f6dd1ca0
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      zhongzheng-admin/src/main/java/com/zhongzheng/controller/common/CommonController.java

+ 1 - 1
zhongzheng-admin/src/main/java/com/zhongzheng/controller/common/CommonController.java

@@ -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());