update 优化 增加oss扩展contentType存储

This commit is contained in:
疯狂的狮子Li 2025-07-03 10:39:23 +08:00
parent b421c8d017
commit 589ec1fdbc

View File

@ -203,6 +203,7 @@ public class SysOssServiceImpl implements ISysOssService, OssService {
}
SysOssExt ext1 = new SysOssExt();
ext1.setFileSize(file.getSize());
ext1.setContentType(file.getContentType());
// 保存文件信息
return buildResultEntity(originalfileName, suffix, storage.getConfigKey(), uploadResult, ext1);
}