...
|
...
|
@@ -29,7 +29,7 @@ class TestController extends HomeBaseController |
|
|
foreach ($indent_data as $v) {
|
|
|
if($v['count'] == 4) {
|
|
|
$money = Db::name('money_income')->where('uid',$v['uid'])->where('money','>',0)->where('indent_id',$v['indent_id'])->count();
|
|
|
if($money >= 2) {
|
|
|
if($money) {
|
|
|
$v['nickname'] = Db::name('user')->where('id',$v['uid'])->value('user_nickname');
|
|
|
$a[] = $v;
|
|
|
}
|
...
|
...
|
|