|
@@ -59,10 +59,10 @@ class Api
|
|
}
|
|
}
|
|
|
|
|
|
# 删除邀请关系
|
|
# 删除邀请关系
|
|
- public function dropRelation($uid)
|
|
|
|
|
|
+ public function dropRelation($uid, $parent)
|
|
{
|
|
{
|
|
$relation = new Relation();
|
|
$relation = new Relation();
|
|
- return $relation->dropParent($uid);
|
|
|
|
|
|
+ return $relation->dropParent($uid, $parent);
|
|
}
|
|
}
|
|
|
|
|
|
# 获取某个用户的下级
|
|
# 获取某个用户的下级
|