|
|
@@ -55,7 +55,8 @@ class Withdraw extends Controller
|
|
|
$count = $query->where($where)->count();
|
|
|
$list = $query->where($where)
|
|
|
->with(['userInfo'])
|
|
|
- ->orderBy('created_at', 'desc')
|
|
|
+ ->orderBy('status')
|
|
|
+ ->orderByDesc('created_at')
|
|
|
->forpage($page, $limit)->get();
|
|
|
$result = ['total' => $count, 'data' => $list];
|
|
|
} catch (ValidationException $e) {
|