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

调试

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