|
@@ -429,8 +429,8 @@ public class SceneEditInfoServiceImpl extends ServiceImpl<ISceneEditInfoMapper,
|
|
public List<String> uploadPanorama(String num, MultipartFile file) throws Exception {
|
|
public List<String> uploadPanorama(String num, MultipartFile file) throws Exception {
|
|
|
|
|
|
//压缩包保存到本地
|
|
//压缩包保存到本地
|
|
-// String path = String.format(ConstantFilePath.SCENE_CACHE_IMAGES, param.getNum());
|
|
|
|
- String path = "F:\\mnt\\4Dkankan\\scene\\t-ieXdyGl6Md\\caches\\images\\";
|
|
|
|
|
|
+ String path = String.format(ConstantFilePath.SCENE_CACHE_IMAGES, num);
|
|
|
|
+// String path = "F:\\mnt\\4Dkankan\\scene\\t-ieXdyGl6Md\\caches\\images\\";
|
|
String targetFilePath = path + File.separator + file.getOriginalFilename();
|
|
String targetFilePath = path + File.separator + file.getOriginalFilename();
|
|
File targetFile = new File(targetFilePath);
|
|
File targetFile = new File(targetFilePath);
|
|
if(!targetFile.getParentFile().exists()){
|
|
if(!targetFile.getParentFile().exists()){
|