|
@@ -17,7 +17,6 @@ class Children
|
|
|
|
|
|
public function home()
|
|
|
{
|
|
|
-
|
|
|
$cur = Dever::input('mid');
|
|
|
$parent = Dever::load('invite/api')->getParentAll($cur, 5, 2);
|
|
|
|
|
@@ -57,7 +56,7 @@ class Children
|
|
|
return $result[0];
|
|
|
}
|
|
|
|
|
|
- private function getChild(&$data, &$i, $uid, $parents, $cur, $state, $next = true)
|
|
|
+ public function getChild(&$data, &$i, $uid, $parents, $cur, $state, $next = true)
|
|
|
{
|
|
|
$child = Dever::db('agent/member')->select(array('parent_mid' => $uid));
|
|
|
if ($child) {
|