[playerInfo]

This commit is contained in:
aozhiwei 2021-06-22 14:16:49 +08:00
parent b8bb70a77f
commit 6464af8b01

View File

@ -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));
}
}
}