he2802 1 vuosi sitten
vanhempi
commit
ce823c7895

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

@@ -198,6 +198,7 @@ public class CommonController extends BaseController {
             response.setContentType(MediaType.APPLICATION_OCTET_STREAM_VALUE);
             FileUtils.setAttachmentResponseHeader(response, downloadName);
             FileUtils.writeBytes(downloadPath, response.getOutputStream());
+            
         } catch (Exception e) {
             log.error("下载文件失败", e);
         }