mirror of
https://gitee.com/dromara/dax-pay.git
synced 2025-11-29 01:05:12 +08:00
build oss相关配置调整
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user