正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -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 | } |
-
请 注册 或 登录 后发表评论