Commit b2a7773b authored by co_dengxiongwen's avatar co_dengxiongwen

资源点树接口调整

parent 855769e1
......@@ -421,8 +421,8 @@ public class LiResourceController extends AbstractController {
}
private List<Map<String, Object>> getAllTreeList(LiResourceModel model) {
List<Map<String, Object>> tree = new ArrayList<>();
Map<String, Object> root = new HashMap<>(5);
// List<Map<String, Object>> tree = new ArrayList<>();
// Map<String, Object> root = new HashMap<>(5);
// root.put("name", "资源点列表");
// root.put("id", "0");
// root.put("level", 1);
......@@ -500,9 +500,9 @@ public class LiResourceController extends AbstractController {
childrenRoot.add(mapStation);
});
root.put("children", childrenRoot);
tree.add(root);
return tree;
// root.put("children", childrenRoot);
// tree.add(root);
return childrenRoot;
}
private List<Map<String, Object>> getStationTreeList(LiResourceModel model) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment