...
|
...
|
@@ -139,6 +139,8 @@ public class UploadServiceImpl implements IUploadService { |
|
|
fileMode = "0" + (new Random().nextInt(2) + 1);
|
|
|
}
|
|
|
|
|
|
logger.info("upload image bucket is {}, fileMode is {}", bucket, fileMode);
|
|
|
|
|
|
String saveName = new SimpleDateFormat("/yyyy/MM/dd/HH/").format(new Date());
|
|
|
String fileName = fileMode
|
|
|
+ DigestUtils.md5Hex(uid + "_" + System.currentTimeMillis() + multipartFile.getOriginalFilename())
|
...
|
...
|
|