Commit 65eb7c6e authored by 赵啸非's avatar 赵啸非

添加窗口大厅站点选项

parent 1c3d29d5
......@@ -175,7 +175,7 @@ public class AreaServiceImpl extends AbstractCRUDCacheServiceImpl<AreaDao, AreaE
List<AreaEntity> list = this.find(new AreaQuery());
List<Long> tempList = areaList.stream().map(AreaEntity::getId).collect(Collectors.toList());
for (AreaEntity areaEntity : areaList) {
for (AreaEntity areaEntity : list) {
// 如果是顶级节点, 遍历该父节点的所有子节点
if (!tempList.contains(areaEntity.getPid())) {
recursionFn(list, areaEntity);
......
......@@ -17,7 +17,7 @@ client.global.set("authToken", JSON.parse(response.body).data.token);
###构建站点树
POST {{baseUrl}}/area/authAreaTree
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJsb2dpbl91c2VyX2tleSI6IjIwNjY6NDAxNzM1MjgxOTJhNGZkYjk1MzM4MGUxMmI3NmM1YTYifQ.UsT-5N5SdhCRPTWI64bi9xVYjIIq60RPzRfb3eIUgp4
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJsb2dpbl91c2VyX2tleSI6IjIwNjY6MThhNmEyOGM0ZDNhNGQ3OTgyYjlhOWFlYjU0MDU3MTAifQ.Ex92WgtbmsV6EBONj5SO48iG7oy4l6imsIcNK-qtJUw
Accept: application/json
......
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