From ca620eb53631235444f55e8a52f9af53ca84885a Mon Sep 17 00:00:00 2001 From: zhenhui <1276357500@qq.com> Date: Fri, 20 Mar 2026 15:25:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=AE=B0=E5=BD=95=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E6=98=BE=E7=A4=BA=E6=95=B0=E6=8D=AE=E4=B8=AA=E6=95=B0?= =?UTF-8?q?=E4=B8=BA=E6=AF=8F=E9=A1=B5100=E6=9D=A1=EF=BC=8C=E5=B9=B6?= =?UTF-8?q?=E4=B8=94=E4=B8=BAid=E5=80=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- saiadmin-artd/src/views/plugin/dice/play_record/index/index.vue | 1 + .../src/views/plugin/dice/player_ticket_record/index/index.vue | 1 + .../src/views/plugin/dice/player_wallet_record/index/index.vue | 1 + server/app/dice/logic/play_record/DicePlayRecordLogic.php | 2 ++ .../logic/player_ticket_record/DicePlayerTicketRecordLogic.php | 2 ++ .../logic/player_wallet_record/DicePlayerWalletRecordLogic.php | 2 ++ .../logic/reward_config_record/DiceRewardConfigRecordLogic.php | 2 ++ 7 files changed, 11 insertions(+) diff --git a/saiadmin-artd/src/views/plugin/dice/play_record/index/index.vue b/saiadmin-artd/src/views/plugin/dice/play_record/index/index.vue index 65fac48..a8e6933 100644 --- a/saiadmin-artd/src/views/plugin/dice/play_record/index/index.vue +++ b/saiadmin-artd/src/views/plugin/dice/play_record/index/index.vue @@ -171,6 +171,7 @@ } = useTable({ core: { apiFn: api.list, + apiParams: { limit: 100 }, columnsFactory: () => [ // { type: 'selection' }, { prop: 'id', label: 'page.table.id', width: 80 }, diff --git a/saiadmin-artd/src/views/plugin/dice/player_ticket_record/index/index.vue b/saiadmin-artd/src/views/plugin/dice/player_ticket_record/index/index.vue index a6f7058..9957acd 100644 --- a/saiadmin-artd/src/views/plugin/dice/player_ticket_record/index/index.vue +++ b/saiadmin-artd/src/views/plugin/dice/player_ticket_record/index/index.vue @@ -122,6 +122,7 @@ } = useTable({ core: { apiFn: api.list, + apiParams: { limit: 100 }, columnsFactory: () => { const usernameFormatter = (row: Record) => row?.dicePlayer?.username ?? row?.player_id ?? '-' diff --git a/saiadmin-artd/src/views/plugin/dice/player_wallet_record/index/index.vue b/saiadmin-artd/src/views/plugin/dice/player_wallet_record/index/index.vue index 058f3e1..b2bcedb 100644 --- a/saiadmin-artd/src/views/plugin/dice/player_wallet_record/index/index.vue +++ b/saiadmin-artd/src/views/plugin/dice/player_wallet_record/index/index.vue @@ -163,6 +163,7 @@ } = useTable({ core: { apiFn: api.list, + apiParams: { limit: 100 }, columnsFactory: () => [ { type: 'selection', align: 'center' }, { prop: 'id', label: 'page.table.id', width: 80, align: 'center' }, diff --git a/server/app/dice/logic/play_record/DicePlayRecordLogic.php b/server/app/dice/logic/play_record/DicePlayRecordLogic.php index e99a548..bb8b49e 100644 --- a/server/app/dice/logic/play_record/DicePlayRecordLogic.php +++ b/server/app/dice/logic/play_record/DicePlayRecordLogic.php @@ -22,6 +22,8 @@ class DicePlayRecordLogic extends BaseLogic public function __construct() { $this->model = new DicePlayRecord(); + // 默认按主键倒序:最新数据优先展示 + $this->setOrderType('DESC'); } /** diff --git a/server/app/dice/logic/player_ticket_record/DicePlayerTicketRecordLogic.php b/server/app/dice/logic/player_ticket_record/DicePlayerTicketRecordLogic.php index 7597de5..ace4ecc 100644 --- a/server/app/dice/logic/player_ticket_record/DicePlayerTicketRecordLogic.php +++ b/server/app/dice/logic/player_ticket_record/DicePlayerTicketRecordLogic.php @@ -22,6 +22,8 @@ class DicePlayerTicketRecordLogic extends BaseLogic public function __construct() { $this->model = new DicePlayerTicketRecord(); + // 默认按主键倒序:最新数据优先展示 + $this->setOrderType('DESC'); } /** diff --git a/server/app/dice/logic/player_wallet_record/DicePlayerWalletRecordLogic.php b/server/app/dice/logic/player_wallet_record/DicePlayerWalletRecordLogic.php index a080091..8c5b549 100644 --- a/server/app/dice/logic/player_wallet_record/DicePlayerWalletRecordLogic.php +++ b/server/app/dice/logic/player_wallet_record/DicePlayerWalletRecordLogic.php @@ -23,6 +23,8 @@ class DicePlayerWalletRecordLogic extends BaseLogic public function __construct() { $this->model = new DicePlayerWalletRecord(); + // 默认按主键倒序:最新数据优先展示 + $this->setOrderType('DESC'); } /** diff --git a/server/app/dice/logic/reward_config_record/DiceRewardConfigRecordLogic.php b/server/app/dice/logic/reward_config_record/DiceRewardConfigRecordLogic.php index ac8656e..c1365b2 100644 --- a/server/app/dice/logic/reward_config_record/DiceRewardConfigRecordLogic.php +++ b/server/app/dice/logic/reward_config_record/DiceRewardConfigRecordLogic.php @@ -20,6 +20,8 @@ class DiceRewardConfigRecordLogic extends BaseLogic public function __construct() { $this->model = new DiceRewardConfigRecord(); + // 默认按主键倒序:最新数据优先展示 + $this->setOrderType('DESC'); } /**