作者 刘朕
1 个管道 的构建 通过 耗费 0 秒

调试

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