|
@@ -54,6 +54,10 @@ class Index extends Api
|
|
$userids[] = $val['id'];
|
|
$userids[] = $val['id'];
|
|
}
|
|
}
|
|
$admindata = db('admin')->where(['id' => ['in', $userids]])->select();
|
|
$admindata = db('admin')->where(['id' => ['in', $userids]])->select();
|
|
|
|
+
|
|
|
|
+ var_dump($admindata);
|
|
|
|
+ Db::rollback();
|
|
|
|
+ die;
|
|
$upincome =$moenylog= [];
|
|
$upincome =$moenylog= [];
|
|
foreach ($admindata as $k => $vl) {
|
|
foreach ($admindata as $k => $vl) {
|
|
if (isset($temp[$vl['id']])) {
|
|
if (isset($temp[$vl['id']])) {
|