1
This commit is contained in:
parent
6620be7855
commit
a7c0282113
@ -272,6 +272,11 @@ class Hero extends BaseModel {
|
|||||||
$attrPro = self::mergeAttrPro($baseAttr,$attrPro1,$attrPro2);
|
$attrPro = self::mergeAttrPro($baseAttr,$attrPro1,$attrPro2);
|
||||||
}
|
}
|
||||||
$heroLucky = \services\FormulaService::Hero_Advanced_Lucky_Value($row['quality']);
|
$heroLucky = \services\FormulaService::Hero_Advanced_Lucky_Value($row['quality']);
|
||||||
|
$userDb = myself()->_getOrmUserInfo();
|
||||||
|
$isSelect = 0;
|
||||||
|
if ($row['idx'] == $userDb['hero_id']){
|
||||||
|
$isSelect = 1;
|
||||||
|
}
|
||||||
$dto = array(
|
$dto = array(
|
||||||
'idx' => $row['idx'],
|
'idx' => $row['idx'],
|
||||||
'token_id' => $row['token_id'],
|
'token_id' => $row['token_id'],
|
||||||
@ -298,6 +303,7 @@ class Hero extends BaseModel {
|
|||||||
'advanced_count' => $row['advanced_count'],
|
'advanced_count' => $row['advanced_count'],
|
||||||
'offer_reward_state' => 0,
|
'offer_reward_state' => 0,
|
||||||
'tags' => isset($row['tags'])?$row['tags']:'',
|
'tags' => isset($row['tags'])?$row['tags']:'',
|
||||||
|
'is_select' => $isSelect,
|
||||||
|
|
||||||
//暂留(以下弃用字段)
|
//暂留(以下弃用字段)
|
||||||
'current_pvp_get_ceg' => $todayGetGold / 100,
|
'current_pvp_get_ceg' => $todayGetGold / 100,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user