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