From 6464af8b01e645e5423b761958ab89a0b66946f9 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 22 Jun 2021 14:16:49 +0800 Subject: [PATCH] [playerInfo] --- webapp/controller/NPlayerInfoController.class.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/webapp/controller/NPlayerInfoController.class.php b/webapp/controller/NPlayerInfoController.class.php index 6cf05a3..deefc6c 100644 --- a/webapp/controller/NPlayerInfoController.class.php +++ b/webapp/controller/NPlayerInfoController.class.php @@ -73,6 +73,8 @@ class NPlayerInfoController extends BaseAuthedController { $totalKill = $row[0]["kills"];//总击杀次数 $maxDamage = $row[0]["harm_his"];//最高伤害 $totalDamage = $row[0]["harm"];//总伤害 + $cureN = $row[0]['add_HP'];//治疗 + $aliveTimes = $row[0]['alive_time'];//生存总时间 //$rankScore = $row[0][""];//当前段位分数 if($hiID == 0) @@ -104,7 +106,9 @@ class NPlayerInfoController extends BaseAuthedController { "totalKill"=>$totalKill, "maxDamage"=>$maxDamage, "totalDamage"=>$totalDamage, - "from"=>$from + "from"=>$from, + 'cureN' =>$cureN, + 'aliveTime' =>$aliveTimes ); } else @@ -224,4 +228,4 @@ class NPlayerInfoController extends BaseAuthedController { // $sqlStr = "SELECT * FROM user WHERE accountid=:accountid; "; // $row = $conn->execQuery($sqlStr,array(':accountid' => $account_id)); } -} \ No newline at end of file +}