diff --git a/app/portal/controller/TestController.php b/app/portal/controller/TestController.php index 88b700f..fb2ef56 100644 --- a/app/portal/controller/TestController.php +++ b/app/portal/controller/TestController.php @@ -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; }