|
|
@ -83,10 +83,10 @@ class GameRebateController extends ThinkController
|
|
|
|
|
|
|
|
|
|
|
|
$records = [];
|
|
|
|
$records = [];
|
|
|
|
if (I('export', 0) == 1 || $row == 'all') {
|
|
|
|
if (I('export', 0) == 1 || $row == 'all') {
|
|
|
|
$records = $query->select();
|
|
|
|
$records = $query->order('create_time desc')->select();
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$countQuery = clone $query;
|
|
|
|
$countQuery = clone $query;
|
|
|
|
$records = $query->page($page, $row)->select();
|
|
|
|
$records = $query->order('create_time desc')->page($page, $row)->select();
|
|
|
|
$count = $countQuery->count();
|
|
|
|
$count = $countQuery->count();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|