From 6e0d6439787db5869ed2b1d6fc74626a4973cc65 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 6 Jan 2020 22:23:17 +0800 Subject: [PATCH] 1 --- webapp/controller/RoleController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/controller/RoleController.class.php b/webapp/controller/RoleController.class.php index ebea98e..e6e5008 100644 --- a/webapp/controller/RoleController.class.php +++ b/webapp/controller/RoleController.class.php @@ -430,7 +430,7 @@ class RoleController{ ':accountid' => $account_id )); if ($rowCount != 0) { - $rows = $conn->execQuery('SELECT * FROM history_record WHERE accountid=:account_id;', + $rows = $conn->execQuery('SELECT * FROM history_record WHERE accountid=:account_id order by game_time desc limit 0,10;', array( ':account_id' => $account_id ));