|
@@ -119,7 +119,7 @@ public class ThreadService {
|
|
redisUtil.set(RedisKeyUtil.modelUpload+model.getModelId(),"65");
|
|
redisUtil.set(RedisKeyUtil.modelUpload+model.getModelId(),"65");
|
|
ShellUtil.yunUpload(mntFile.getPath(),ossPath);
|
|
ShellUtil.yunUpload(mntFile.getPath(),ossPath);
|
|
|
|
|
|
- model.setModelGlbUrl(JSONArray.toJSONString(Arrays.asList(queryPath + "/webcloud" +ossPath)));
|
|
|
|
|
|
+ model.setModelGlbUrl(JSONArray.toJSONString(Arrays.asList(queryPath +ossPath +"/webcloud")));
|
|
if(!uploadToOssUtil.existKey(ossPath+"/webcloud/cloud.js")){
|
|
if(!uploadToOssUtil.existKey(ossPath+"/webcloud/cloud.js")){
|
|
throw new BusinessException(-1,"缺少cloud.js文件");
|
|
throw new BusinessException(-1,"缺少cloud.js文件");
|
|
}
|
|
}
|