From 0c1d64558765177a7e4e9a411aa634e9efd1ea1e Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 21 Jan 2021 15:15:58 +0800 Subject: [PATCH] 1 --- webapp/controller/RoleController.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webapp/controller/RoleController.class.php b/webapp/controller/RoleController.class.php index 781c9ec..c021593 100644 --- a/webapp/controller/RoleController.class.php +++ b/webapp/controller/RoleController.class.php @@ -615,7 +615,7 @@ class RoleController{ $ar = $this->getRankReward($rank); $coin_num = $ar['zbmode_param']; $kills = $_REQUEST['kills']; - $row = $conn->execQueryOne('SELECT daily_time, coin_num, biogame_times, kills FROM user WHERE accountid=:accountid;', + $row = $conn->execQueryOne('SELECT daily_time, coin_num, biogame_times, kills, game_times FROM user WHERE accountid=:accountid;', array( ':accountid' => $account_id )); @@ -646,6 +646,7 @@ class RoleController{ ':daily_time' => $daily_time, ':biogame_times' => $row['biogame_times'] + 1, ':kills' => $row['kills'] + $kills, + ':game_times' => $row['game_times'] + 1, )); if (!$ret) { die();