...
|
...
|
@@ -107,7 +107,6 @@ class AdminIndexController extends AdminBaseController |
|
|
} else {
|
|
|
//先查此人的下级
|
|
|
$son_arr = Db::name('user')->where(['parent_id' => $item['id']])->field('id')->select()->toArray();
|
|
|
print_r($son_arr);
|
|
|
if (!empty($son_arr)) {
|
|
|
$son_str = '';
|
|
|
foreach ($son_arr as $key => $v) {
|
...
|
...
|
@@ -117,6 +116,7 @@ class AdminIndexController extends AdminBaseController |
|
|
$son_str .= $v['id'] . ',';
|
|
|
}
|
|
|
}
|
|
|
echo $son_str;
|
|
|
$map = [
|
|
|
'uid' => ['in', $son_str],
|
|
|
'pay_type' => ['eq', 3],
|
...
|
...
|
|