fix(llm): 修改数据集模板文件的 MIME 类型

修改 Excel 文件(.xlsx)的 MIME 类型,从 "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" 更改为 "application/vnd.ms-excel",以确保更好的兼容性。
This commit is contained in:
Liuyang 2025-03-24 14:36:02 +08:00
parent 44609a674d
commit 2ad50be399

View File

@ -149,7 +149,7 @@ public class DatasetController {
case 1:
return new FileInfoVO("dataset_example_txt.txt", "text/plain");
case 2:
return new FileInfoVO("dataset_example_xlsx.xlsx", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
return new FileInfoVO("dataset_example_xlsx.xlsx", "application/vnd.ms-excel");
case 3:
return new FileInfoVO("dataset_example_csv.csv", "text/csv");
case 4: