TASK: 全局异常处理,代码优化,测试数据库连接信息变更;
This commit is contained in:
@@ -176,7 +176,7 @@ public class LibraryController {
|
||||
private String calculateTempFileUrl(Long userId) {
|
||||
String rootPath = fileProperties.getSys().getPath();
|
||||
String day = DateUtil.dateToStr(new Date(), DateUtil.YYYYMM);
|
||||
return rootPath + day + File.separator + "tmp" + File.separator + userId + File.separator + UUID.randomUUID().toString();
|
||||
return rootPath + day + File.separator + "tmp" + File.separator + userId + File.separator + UUID.randomUUID();
|
||||
}
|
||||
|
||||
private String calculateTempFileUrlNew(Long userId) {
|
||||
|
||||
Reference in New Issue
Block a user