|
@@ -40,6 +40,8 @@ import java.util.HashSet;
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
import java.util.Objects;
|
|
import java.util.Objects;
|
|
|
import java.util.Set;
|
|
import java.util.Set;
|
|
|
|
|
+import java.util.*;
|
|
|
|
|
+
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
@@ -87,7 +89,7 @@ public class BoxModelServiceImpl implements IBoxModelService {
|
|
|
// }
|
|
// }
|
|
|
String path = String.format(ConstantFilePath.SCENE_USER_PATH_V4, num) + "boxModel/" + sid + "/";
|
|
String path = String.format(ConstantFilePath.SCENE_USER_PATH_V4, num) + "boxModel/" + sid + "/";
|
|
|
try {
|
|
try {
|
|
|
- String zipPath = path + file.getOriginalFilename();
|
|
|
|
|
|
|
+ String zipPath = path + UUID.randomUUID() + ".zip";
|
|
|
String srcPath = path + "data/";
|
|
String srcPath = path + "data/";
|
|
|
String glbPath = path + sid + ".glb";
|
|
String glbPath = path + sid + ".glb";
|
|
|
|
|
|