|
@@ -199,7 +199,7 @@ func FindUserRelationshipMap(c *gin.Context) { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
var list *md.TreeNode |
|
|
var list *md.TreeNode |
|
|
list, err = svc.GetTrees(db.Db, relation, 3) |
|
|
|
|
|
|
|
|
list, err = svc.GetTrees(db.Db, relation, 1) |
|
|
if err != nil { |
|
|
if err != nil { |
|
|
e.OutErr(c, e.ERR_DB_ORM, err.Error()) |
|
|
e.OutErr(c, e.ERR_DB_ORM, err.Error()) |
|
|
return |
|
|
return |
|
|