|
@@ -221,8 +221,8 @@ public class SceneFileController{
|
|
}
|
|
}
|
|
|
|
|
|
@PostMapping("/send_bd")
|
|
@PostMapping("/send_bd")
|
|
- public ResultData noticeBuildBd(String uuid, String dir) throws Exception {
|
|
|
|
- String prefix = "http://192.168.0.25/oss/bd_server/" + dir + "/";
|
|
|
|
|
|
+ public ResultData noticeBuildBd(String ossHost, String uuid, String dir) throws Exception {
|
|
|
|
+ String prefix = "http://" + ossHost + "/oss/bd_server/" + dir + "/";
|
|
String path = "/oss/4dkankan/bd_server/" + dir;
|
|
String path = "/oss/4dkankan/bd_server/" + dir;
|
|
List<String> strings = FileUtil.listFileNames(path);
|
|
List<String> strings = FileUtil.listFileNames(path);
|
|
strings.parallelStream().forEach(fileName ->{
|
|
strings.parallelStream().forEach(fileName ->{
|