1
This commit is contained in:
parent
aac0848eb6
commit
b74526c112
@ -98,15 +98,15 @@ class RankingController extends BaseAuthedController {
|
|||||||
|
|
||||||
if ($row){
|
if ($row){
|
||||||
$hero_skin = 0;
|
$hero_skin = 0;
|
||||||
if ($row['account_id'] == myself()->_getAccountId()){
|
|
||||||
$heroDb = Hero::find($row['hero_id']);
|
|
||||||
|
|
||||||
if ($heroDb){
|
$heroDb = Hero::find($row['hero_id']);
|
||||||
$heroItemId = $heroDb['hero_id'];
|
|
||||||
$skinDb = HeroSkin::findBx($heroItemId);
|
if ($heroDb){
|
||||||
$hero_skin = $skinDb['skin_id'];
|
$heroItemId = $heroDb['hero_id'];
|
||||||
}
|
$skinDb = HeroSkin::findBx($heroItemId);
|
||||||
|
$hero_skin = $skinDb['skin_id'];
|
||||||
}
|
}
|
||||||
|
|
||||||
$info = array(
|
$info = array(
|
||||||
'account_id' => $row['account_id'],
|
'account_id' => $row['account_id'],
|
||||||
'address' => phpcommon\extractOpenId($row['account_id']),
|
'address' => phpcommon\extractOpenId($row['account_id']),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user