mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-09-24 07:19:46 +08:00
update 优化 增加oss扩展contentType存储
This commit is contained in:
@ -203,6 +203,7 @@ public class SysOssServiceImpl implements ISysOssService, OssService {
|
|||||||
}
|
}
|
||||||
SysOssExt ext1 = new SysOssExt();
|
SysOssExt ext1 = new SysOssExt();
|
||||||
ext1.setFileSize(file.getSize());
|
ext1.setFileSize(file.getSize());
|
||||||
|
ext1.setContentType(file.getContentType());
|
||||||
// 保存文件信息
|
// 保存文件信息
|
||||||
return buildResultEntity(originalfileName, suffix, storage.getConfigKey(), uploadResult, ext1);
|
return buildResultEntity(originalfileName, suffix, storage.getConfigKey(), uploadResult, ext1);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user