...
|
...
|
@@ -31,10 +31,12 @@ class TestController extends HomeBaseController |
|
|
$data = Db::name('money_income')->where('money','>',0)->where('indent_id',$v['indent_id'])->find();
|
|
|
if($data) {
|
|
|
$data['nickname'] = Db::name('user')->where('id',$data['uid'])->value('user_nickname');
|
|
|
unset($data['id']);
|
|
|
$a[] = $data;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
Db::name('indent_over')->insertAll($a);
|
|
|
print_r($a);exit;
|
|
|
// $data = Db::name('my_user')->where(['status'=>3,'inviter_phone'=>['neq','']])->select()->toArray();
|
|
|
// foreach($data as $key => $vo){
|
...
|
...
|
|