|
@@ -58,7 +58,7 @@ public class CommonServiceImpl implements ICommonService {
|
|
|
public void updateViewGetInfo(String num, Map<String, Object> param) {
|
|
|
JSONObject infoJson = this.getInfoJson(num);
|
|
|
param.keySet().stream().forEach(k->{
|
|
|
- infoJson.replace(k, param.get(k));
|
|
|
+ infoJson.put(k, param.get(k));
|
|
|
});
|
|
|
String sceneJsonKey = String.format(UploadFilePath.DATA_VIEW_PATH, num) + "scene.json";
|
|
|
fYunFileService.uploadFile(infoJson.toJSONString().getBytes(StandardCharsets.UTF_8), sceneJsonKey);
|