|
@@ -33,8 +33,8 @@ class CardController
|
|
|
$query->whereBetween('card_main_addtimes', $addtimes);
|
|
|
});
|
|
|
$total = $cardMain->count();
|
|
|
- $rows = $cardMain->select('card_main_id', 'card_main_amount')
|
|
|
- ->orderBy('card_addtimes', 'DESC')
|
|
|
+ $rows = $cardMain->select('card_main_id', 'card_main_amount','card_main_name')
|
|
|
+ ->orderBy('card_main_addtimes', 'DESC')
|
|
|
->forPage($page, $pageSize)
|
|
|
->get()
|
|
|
->toArray();
|