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