Commit 9a7e2e8f authored by ZhuChunYang's avatar ZhuChunYang

提币审核列表排序

parent 692a6f2a
...@@ -83,7 +83,7 @@ class CoinReleaseCheckController extends BaseController ...@@ -83,7 +83,7 @@ class CoinReleaseCheckController extends BaseController
$datas = $datas->andFilterWhere(['<=', 'create_time', $model->end_time]); $datas = $datas->andFilterWhere(['<=', 'create_time', $model->end_time]);
} }
$count = $datas->count(); $count = $datas->count();
$datas = $datas->limit($limit)->offset(($page - 1) * $limit)->asArray()->all(); $datas = $datas->limit($limit)->offset(($page - 1) * $limit)->orderBy('id desc')->asArray()->all();
//获取操作次数 //获取操作次数
//提出地址 //提出地址
$addresses = array_values(array_unique(array_column($datas, 'to_address'))); $addresses = array_values(array_unique(array_column($datas, 'to_address')));
...@@ -141,7 +141,7 @@ class CoinReleaseCheckController extends BaseController ...@@ -141,7 +141,7 @@ class CoinReleaseCheckController extends BaseController
$query = $query->andFilterWhere(['<=', 'create_time', $model->end_time]); $query = $query->andFilterWhere(['<=', 'create_time', $model->end_time]);
} }
$count = $query->count(); $count = $query->count();
$datas = $query->limit($limit)->offset(($page - 1) * $limit)->asArray()->all(); $datas = $query->limit($limit)->offset(($page - 1) * $limit)->orderBy('id desc')->asArray()->all();
//获取审核员id //获取审核员id
$check_ids = array_column($datas, 'check_first_uid'); $check_ids = array_column($datas, 'check_first_uid');
$check_ids = array_unique(array_values(array_merge($check_ids, array_column($datas, 'check_second_uid')))); $check_ids = array_unique(array_values(array_merge($check_ids, array_column($datas, 'check_second_uid'))));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment