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