@Operation(summary = "retureTreeData", description = "Return Tree structure data.")
    @PostMapping("/tree/v1")
    public TreeResult tree(final UserDTO param) {
        int id = 0;
        TreeResult parent = new TreeResult();
        parent.setId(++id);
        parent.setName("parentNode" + param.getUserName());
        parent.setParentId(0);

        TreeResult child1 = new TreeResult();
        child1.setId(++id);
        child1.setName("childNode1");
        child1.setParentId(1);

        TreeResult child2 = new TreeResult();
        child2.setId(++id);
        child2.setName("childNode2");
        child2.setParentId(1);

        parent.setChildren(Arrays.asList(child1, child2));
        return parent;
    }
Return Tree structure data.

@param param param
@return TreeResult
shenyu-examples/shenyu-examples-http-swagger3/src/main/java/org/apache/shenyu/examples/http/controller/HttpTestController.java