rabin 4 mesi fa
parent
commit
92c4713af9
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      lib/Relation.php

+ 1 - 1
lib/Relation.php

@@ -96,7 +96,7 @@ class Relation
     }
 
     # 获取某个用户的下级数据
-    public function getChild($uid, $level = false, $page = true)
+    public function getChild($uid, $level = 1, $page = 10)
     {
         $where['uid'] = $uid;
         if ($level) {