模版编制相关实现

This commit is contained in:
潘荣晟
2025-09-26 16:43:34 +08:00
parent 3e70de3977
commit abf9607c43

View File

@@ -79,7 +79,7 @@ public class UrlFileDownloader {
} }
/** /**
* 从URL和响应头中提取文件名 * 从URL和响应头中提取文件名
*/ */
private static String getFileNameFromUrl(String fileUrl, URLConnection connection) { private static String getFileNameFromUrl(String fileUrl, URLConnection connection) {
// 优先从响应头的Content-Disposition获取attachment;filename="test.pdf" // 优先从响应头的Content-Disposition获取attachment;filename="test.pdf"