Merge pull request '优化' (#458) from feature/market_department_search into master

Reviewed-on: http://8.136.139.249:3000/wmtx/platform/pulls/458
master
廖金灵 3 years ago
commit b001d6a85e

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

Loading…
Cancel
Save