Browse Source

修改csv命名规范

修改csv命名规范

Signed-off-by: 高雄 <admin@cxcp.com>
pull/225/head
高雄 1 year ago committed by Gitee
parent
commit
978aa0dd68
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
  1. 2
      server/src/main/java/cn/keking/service/impl/OfficeFilePreviewImpl.java

2
server/src/main/java/cn/keking/service/impl/OfficeFilePreviewImpl.java

@ -64,7 +64,7 @@ public class OfficeFilePreviewImpl implements FilePreview {
return XLSX_FILE_PREVIEW_PAGE;
}
if (suffix.equalsIgnoreCase("csv")) {
model.addAttribute("pdfUrl", KkFileUtils.htmlEscape(url));
model.addAttribute("csvUrl", KkFileUtils.htmlEscape(url));
return CSV_FILE_PREVIEW_PAGE;
}
}

Loading…
Cancel
Save