1.附件存储路径修改

This commit is contained in:
cuizhibin 2025-06-27 15:26:45 +08:00
parent d691db5eee
commit f63e40a79a
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ public class AttachInfoServiceImpl extends ServiceImpl<FileInfoMapper, AttachInf
try { try {
String path = temPathPrefix + file.getOriginalFilename(); String path = temPathPrefix + file.getOriginalFilename();
FileUtil.writeBytes(file.getBytes(),path); FileUtil.writeBytes(file.getBytes(),path);
list.add(AttachInfoEntity.builder().businessType(businessType).attachPath(path).build()); list.add(AttachInfoEntity.builder().businessType(businessType).attachPath(FilePathEnum.ATTACH.getImageDownPath(path)).build());
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
} }