1
This commit is contained in:
parent
dc12d512e1
commit
38ac413eaf
16
doc/Hero.py
16
doc/Hero.py
@ -104,6 +104,22 @@ class Hero(object):
|
||||
['property_chg', _common.PropertyChg(), '属性变更'],
|
||||
]
|
||||
},
|
||||
{
|
||||
'name': 'upgradeQualityPreview',
|
||||
'desc': '升阶',
|
||||
'group': 'Hero',
|
||||
'url': 'webapp/index.php?c=Hero&a=upgradeQualityPreview',
|
||||
'params': [
|
||||
_common.ReqHead(),
|
||||
['hero_uniid', 0, '英雄唯一id'],
|
||||
['cost_hero_uniid', 0, '耗材英雄唯一id'],
|
||||
],
|
||||
'response': [
|
||||
_common.RspHead(),
|
||||
['old_hero', _common.Hero(), '英雄-老'],
|
||||
['new_hero', _common.Hero(), '英雄-新'],
|
||||
]
|
||||
},
|
||||
{
|
||||
'name': 'getUpgradeQualityList',
|
||||
'desc': '获取升阶中的英雄列表',
|
||||
|
@ -508,4 +508,10 @@ class HeroController extends BaseAuthedController {
|
||||
));
|
||||
}
|
||||
|
||||
public function upgradeQualityPreview()
|
||||
{
|
||||
$heroUniId = getReqVal('hero_uniid', 0);
|
||||
$heroDb = Hero::find($heroUniId);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user