|
@@ -98,7 +98,7 @@ class Api
|
|
}
|
|
}
|
|
|
|
|
|
# 获取某个用户的上级
|
|
# 获取某个用户的上级
|
|
- public function getParentAll($uid, $level = 1)
|
|
|
|
|
|
+ public function getParentAll($uid, $level = false)
|
|
{
|
|
{
|
|
$relation = new Relation();
|
|
$relation = new Relation();
|
|
$info = $relation->getParentAll($uid, $level);
|
|
$info = $relation->getParentAll($uid, $level);
|