build oss相关配置调整

This commit is contained in:
DaxPay
2024-10-10 15:23:48 +08:00
parent 0a4337c455
commit e72c5ccd32
4 changed files with 26 additions and 30 deletions

View File

@@ -94,7 +94,7 @@ public class FileUploadService {
if (StrUtil.isNotBlank(fileName)){
uploadPretreatment.setOriginalFilename(fileName);
}
// 按年月日进行分目录
// 按年月日进行分目录, 因为目录拼接的情况, 所以开头不可以为 /
uploadPretreatment.setPath(LocalDateTimeUtil.format(LocalDateTime.now(), "yyyy/MM/dd/"));
FileInfo upload = uploadPretreatment.upload();