模板下载

This commit is contained in:
zt
2025-03-28 14:42:59 +08:00
parent 14ed939008
commit 8289974a21

View File

@ -70,7 +70,7 @@ public class TemplateDownloadController {
Resource resource = new FileSystemResource(zipFile);
HttpHeaders headers = new HttpHeaders();
headers.add(HttpHeaders.CONTENT_DISPOSITION, "attachment; filename=" + zipFile.getName());
// headers.add(HttpHeaders.CONTENT_DISPOSITION, "attachment; filename=" + zipFile.getName());
ResponseEntity<Resource> response = ResponseEntity.ok()
.headers(headers)