|
@@ -644,8 +644,8 @@ public class SceneDownloadHandlerServiceImpl {
|
|
|
String fileName = key.substring(key.lastIndexOf("/") + 1);
|
|
|
String url = this.resourceUrl + key.replace(fileName, URLEncoder.encode(fileName, "UTF-8")) + "?t=" + Calendar.getInstance().getTimeInMillis();
|
|
|
if(key.contains("hot.json") || key.contains("link-scene.json")){
|
|
|
- String content = FileUtils.getStringFromUrl(url);
|
|
|
-
|
|
|
+// String content = FileUtils.getStringFromUrl(url);
|
|
|
+ String content = fYunFileService.getFileContent(key);
|
|
|
content.replace(publicUrl, "")
|
|
|
// .replace(publicUrl+"v3/", "")
|
|
|
.replace("https://spc.html","spc.html")
|