作者 李涵
1 个管道 的构建 通过 耗费 0 秒

合并分支 'li' 到 'master'

赠送积分和角色管理



查看合并请求 !631
@@ -107,7 +107,6 @@ class AdminIndexController extends AdminBaseController @@ -107,7 +107,6 @@ class AdminIndexController extends AdminBaseController
107 } else { 107 } else {
108 //先查此人的下级 108 //先查此人的下级
109 $son_arr = Db::name('user')->where(['parent_id' => $item['id']])->field('id')->select()->toArray(); 109 $son_arr = Db::name('user')->where(['parent_id' => $item['id']])->field('id')->select()->toArray();
110 - print_r($son_arr);  
111 if (!empty($son_arr)) { 110 if (!empty($son_arr)) {
112 $son_str = ''; 111 $son_str = '';
113 foreach ($son_arr as $key => $v) { 112 foreach ($son_arr as $key => $v) {
@@ -117,6 +116,7 @@ class AdminIndexController extends AdminBaseController @@ -117,6 +116,7 @@ class AdminIndexController extends AdminBaseController
117 $son_str .= $v['id'] . ','; 116 $son_str .= $v['id'] . ',';
118 } 117 }
119 } 118 }
  119 + echo $son_str;
120 $map = [ 120 $map = [
121 'uid' => ['in', $son_str], 121 'uid' => ['in', $son_str],
122 'pay_type' => ['eq', 3], 122 'pay_type' => ['eq', 3],