Browse Source

uploadBallScreenVideo

lyhzzz 3 years ago
parent
commit
4706c7fbf0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/cdf/service/impl/FdkkSceneEditService.java

+ 1 - 1
src/main/java/com/cdf/service/impl/FdkkSceneEditService.java

@@ -144,7 +144,7 @@ public class FdkkSceneEditService {
         }
         JSONArray hotJson = getHotJson(fdkkHotRequest.getNum());
         String path = String.format(hotLocalPath, fdkkHotRequest.getNum())+"/"+"hot.json";
-        FileUtils.writeFile(path, hotJson.toJSONString());
+        FileUtils.writeFile(path, JSONObject.toJSONString(hotJson));
         uploadToOssUtil.upload(path,String.format(hotCdfPath, fdkkHotRequest.getNum()));
     }