|
@@ -549,6 +549,9 @@ public class SceneDownloadHandlerServiceImpl {
|
|
|
//访问密码置0
|
|
|
JSONObject controls = sceneJson.getJSONObject("controls");
|
|
|
controls.set("showLock", 0);
|
|
|
+ String videos = sceneJson.getStr("videos");
|
|
|
+ videos.replaceAll(File.separator.concat("oss").concat(File.separator), "");
|
|
|
+ sceneJson.replace("videos", videos);
|
|
|
String sceneJsonPath = String.format(UploadFilePath.DATA_VIEW_PATH, num) + "scene.json";
|
|
|
FileUtil.writeUtf8String(sceneJson.toString(), String.format(this.sourceLocal, num, this.wwwroot + sceneJsonPath));
|
|
|
}
|