diff --git a/webapp/controller/NPlayerInfoController.class.php b/webapp/controller/NPlayerInfoController.class.php index 6cf05a3c..deefc6cf 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 +}