|
@@ -129,11 +129,12 @@ public class CaseNumServiceImpl extends ServiceImpl<ICaseNumMapper, CaseNumEntit
|
|
|
List<String> ossGlbPaths = new ArrayList<>();
|
|
|
File localFile = new File(objPath);
|
|
|
this.toGlB(localFile,localGlbPaths);
|
|
|
+ model.setModelSize(FileWriterUtil.setFileSize(localFile.length()));
|
|
|
|
|
|
if(!localGlbPaths.isEmpty()){
|
|
|
for (String localGlbPath : localGlbPaths) {
|
|
|
File file = new File(localGlbPath);
|
|
|
- model.setModelSize(FileWriterUtil.setFileSize(file.length()));
|
|
|
+ //model.setModelSize(FileWriterUtil.setFileSize(file.length()));
|
|
|
String ossPath = localGlbPath.replace("/mnt/","");
|
|
|
ShellUtil.yunUpload(localGlbPath,ossPath);
|
|
|
ossGlbPaths.add(queryPath +ossPath+"/tileset.json");
|