|
@@ -22,8 +22,8 @@ public class TestController {
|
|
|
|
|
|
@RequestMapping("/test")
|
|
|
public ResultData test(){
|
|
|
- //docker exec -it 3dtile /bin/bash -c '/mnt/fusion/3dtile.sh -f osgb -i /mnt/fusion/osgb/modelId_576/OSGB -o /mnt/fusion/b3dm/modelId_576/OSGB'
|
|
|
- String cmd = "sudo bash docker3dtile.sh /mnt/fusion/osgb/modelId_576/OSGB /mnt/fusion/b3dm/modelId_576/OSGB";
|
|
|
+ String cmd = "docker exec -it 3dtile /bin/bash -c '/mnt/fusion/3dtile.sh -f osgb -i /mnt/fusion/osgb/modelId_576/OSGB -o /mnt/fusion/b3dm/modelId_576/OSGB'";
|
|
|
+ //String cmd = "sudo bash docker3dtile.sh /mnt/fusion/osgb/modelId_576/OSGB /mnt/fusion/b3dm/modelId_576/OSGB";
|
|
|
ShellUtil.execCmd(cmd);
|
|
|
return ResultData.ok();
|
|
|
}
|