|
@@ -1901,7 +1901,7 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public ResultData uploadFile(MultipartFile file, String params) throws Exception {
|
|
|
+ public ResultData uploadFile(MultipartFile file, String params, String dir) throws Exception {
|
|
|
|
|
|
String uuid = UUID.randomUUID().toString();
|
|
|
log.info("upload-params: "+params);
|
|
@@ -1978,7 +1978,7 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
|
String filePath = mac.concat(File.separator).concat(fileId).concat(File.separator).concat(folderName);
|
|
|
|
|
|
String yunFilePath = LocalConstants.BASE_PATH.concat(fYunFileConfig.getBucket()).concat(File.separator).concat(ConstantFilePath.OSS_PREFIX)
|
|
|
- .concat(filePath).concat(File.separator).concat(fileName);
|
|
|
+ .concat(filePath).concat(File.separator).concat(dir).concat(fileName);
|
|
|
log.info("yunFilePath:{}", yunFilePath);
|
|
|
|
|
|
Map<String, Object> map = new HashMap<>();
|