[playerInfo]
This commit is contained in:
parent
b8bb70a77f
commit
6464af8b01
@ -73,6 +73,8 @@ class NPlayerInfoController extends BaseAuthedController {
|
|||||||
$totalKill = $row[0]["kills"];//总击杀次数
|
$totalKill = $row[0]["kills"];//总击杀次数
|
||||||
$maxDamage = $row[0]["harm_his"];//最高伤害
|
$maxDamage = $row[0]["harm_his"];//最高伤害
|
||||||
$totalDamage = $row[0]["harm"];//总伤害
|
$totalDamage = $row[0]["harm"];//总伤害
|
||||||
|
$cureN = $row[0]['add_HP'];//治疗
|
||||||
|
$aliveTimes = $row[0]['alive_time'];//生存总时间
|
||||||
//$rankScore = $row[0][""];//当前段位分数
|
//$rankScore = $row[0][""];//当前段位分数
|
||||||
|
|
||||||
if($hiID == 0)
|
if($hiID == 0)
|
||||||
@ -104,7 +106,9 @@ class NPlayerInfoController extends BaseAuthedController {
|
|||||||
"totalKill"=>$totalKill,
|
"totalKill"=>$totalKill,
|
||||||
"maxDamage"=>$maxDamage,
|
"maxDamage"=>$maxDamage,
|
||||||
"totalDamage"=>$totalDamage,
|
"totalDamage"=>$totalDamage,
|
||||||
"from"=>$from
|
"from"=>$from,
|
||||||
|
'cureN' =>$cureN,
|
||||||
|
'aliveTime' =>$aliveTimes
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -224,4 +228,4 @@ class NPlayerInfoController extends BaseAuthedController {
|
|||||||
// $sqlStr = "SELECT * FROM user WHERE accountid=:accountid; ";
|
// $sqlStr = "SELECT * FROM user WHERE accountid=:accountid; ";
|
||||||
// $row = $conn->execQuery($sqlStr,array(':accountid' => $account_id));
|
// $row = $conn->execQuery($sqlStr,array(':accountid' => $account_id));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user