Explorar o código

uploadBallScreenVideo

lyhzzz %!s(int64=3) %!d(string=hai) anos
pai
achega
4706c7fbf0

+ 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()));
     }