This commit is contained in:
hujiabin 2024-08-05 16:59:31 +08:00
parent 714aad46d4
commit 859e41a62a
2 changed files with 8 additions and 8 deletions

View File

@ -290,10 +290,10 @@ class Hero(object):
['tags', '', '1Gen状态'], ['tags', '', '1Gen状态'],
['!avatarInfo', [AvatarInfo()], '装饰信息'], ['!avatarInfo', [AvatarInfo()], '装饰信息'],
['ability', Ability(), '属性'], ['ability', Ability(), '属性'],
['lucky', 0, '英雄自身幸运值'], ['lucky_base', 0, '英雄自身幸运值'],
['wealth', 0, '英雄自身财富值'], ['wealth_base', 0, '英雄自身财富值'],
['luckyMax', 0, '英雄最大幸运值'], ['lucky', 0, '英雄最大幸运值'],
['wealthMax', 0, '英雄最大财富值'], ['wealth', 0, '英雄最大财富值'],
['seal_type', 0, '0:未封存 1已封存'], ['seal_type', 0, '0:未封存 1已封存'],
['unseal_time', 0, '解封时间'], ['unseal_time', 0, '解封时间'],
['valid_time', 0, '最大有效时间'], ['valid_time', 0, '最大有效时间'],

View File

@ -307,10 +307,10 @@ class Hero extends BaseModel {
'offer_reward_state' => 0, 'offer_reward_state' => 0,
'tags' => isset($row['tags'])?$row['tags']:'', 'tags' => isset($row['tags'])?$row['tags']:'',
'is_select' => $isSelect, 'is_select' => $isSelect,
'luckyMax' => self::getHeroLucky($row), 'lucky' => self::getHeroLucky($row),
'lucky' => self::getHeroLuckyBase($row), 'lucky_base' => self::getHeroLuckyBase($row),
'wealthMax' => self::getHeroWealth($row), 'wealth' => self::getHeroWealth($row),
'wealth' => self::getHeroWealthBase($row), 'wealth_base' => self::getHeroWealthBase($row),
'ability' => self::abilityInfo($row), 'ability' => self::abilityInfo($row),
'seal_type' => $row['seal_type'], 'seal_type' => $row['seal_type'],
'unseal_time' => $row['unseal_time'], 'unseal_time' => $row['unseal_time'],