|
@@ -84,7 +84,7 @@ public class CommonUploadServiceImpl extends ServiceImpl<ICommonUploadMapper, Co
|
|
|
|
|
|
String ossPath = String.format(OssPath.MANAGE_MODEL_FILE_PATH, uuid + extName);
|
|
|
|
|
|
- tempFile = new File(OssPath.localPath + ossPath);
|
|
|
+ tempFile = new File(OssPath.localPath +File.separator+ ossPath);
|
|
|
if(!tempFile.getParentFile().exists()){
|
|
|
tempFile.getParentFile().mkdirs();
|
|
|
}
|