|
@@ -63,6 +63,7 @@ public class UnityServiceImpl implements IUnityService {
|
|
|
String num = bean.getNum();
|
|
|
String workPath = NasPathConstant.UNITY_WORK_PATH + bean.getNum() + "/" + bean.getSerial() + "/";
|
|
|
String localMeshPath = workPath + "mesh/";
|
|
|
+ FileUtil.mkdir(localMeshPath);
|
|
|
List<String> fileList = fYunFileService.listRemoteFiles(String.format(OSSPathConstant.SCENE_VIEW_DATA_DATA, num) + "mesh/");
|
|
|
fileList.stream().forEach(v->{
|
|
|
fYunFileService.downloadFile(v, localMeshPath);
|