[]
This commit is contained in:
parent
653ad40538
commit
5035566f3f
@ -137,6 +137,25 @@ class NPlayerInfoController extends BaseAuthedController {
|
|||||||
$resultArr["heroArr"] = $tmpHeroArr;
|
$resultArr["heroArr"] = $tmpHeroArr;
|
||||||
}
|
}
|
||||||
//获得所有英雄结束-
|
//获得所有英雄结束-
|
||||||
|
//获得改名卡道具数量开始--
|
||||||
|
if($code == 100)
|
||||||
|
{
|
||||||
|
$conn = $this->getMysql($account_id);
|
||||||
|
$tmpHeroArr = array();
|
||||||
|
$itemID = 10106;
|
||||||
|
$sqlStr = "SELECT * FROM bag WHERE accountid=:accountid AND id=:id;";
|
||||||
|
$row = $conn->execQuery($sqlStr,array(':accountid' => $account_id,':id'=>$itemID));
|
||||||
|
if($row)
|
||||||
|
{
|
||||||
|
$itemNum = $row[0]["num"];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$itemNum = 0;
|
||||||
|
}
|
||||||
|
$resultArr["bagItem"] = $itemNum;
|
||||||
|
}
|
||||||
|
//获得改名卡道具数量结束--
|
||||||
$this->sendDataToClient($code,"getPlayerInfo",$resultArr);
|
$this->sendDataToClient($code,"getPlayerInfo",$resultArr);
|
||||||
}
|
}
|
||||||
public function changeHIFrameHero()//修改头像 头像框 英雄
|
public function changeHIFrameHero()//修改头像 头像框 英雄
|
||||||
|
Loading…
x
Reference in New Issue
Block a user