fix(llm): 修改数据集模板文件的 MIME 类型
修改 Excel 文件(.xlsx)的 MIME 类型,从 "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" 更改为 "application/vnd.ms-excel",以确保更好的兼容性。
This commit is contained in:
parent
44609a674d
commit
2ad50be399
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user