完成树功能

Signed-off-by: mahaitao <354650951@qq.com>