|
@@ -1575,6 +1575,12 @@ public class SceneEditInfoServiceImpl extends ServiceImpl<ISceneEditInfoMapper,
|
|
|
|
|
|
}
|
|
|
if(boxPhotosJson.size() != 0){
|
|
|
+ // JSONArray转list
|
|
|
+ List<JSONObject> list = JSONArray.parseArray(boxPhotosJson.toJSONString(), JSONObject.class);
|
|
|
+ CollUtil.reverse(list);
|
|
|
+ // list转JSONArray
|
|
|
+ boxPhotosJson = JSONArray.parseArray(list.toString());
|
|
|
+
|
|
|
result = boxPhotosJson.toJSONString();
|
|
|
}
|
|
|
|