update 优化 增加oss扩展contentType存储
This commit is contained in:
parent
b421c8d017
commit
589ec1fdbc
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user