This commit is contained in:
hujiabin 2023-03-07 11:38:53 +08:00
parent 59ec4c358a
commit 9ad9ff6455
2 changed files with 1 additions and 259 deletions

View File

@ -59,21 +59,7 @@ class Gun(object):
['!gun_list', [_common.Gun()], '枪械列表']
]
},
{
'name': 'upgradeLevel',
'desc': '升等级',
'group': 'Gun',
'url': 'webapp/index.php?c=Gun&a=upgradeLevel',
'params': [
_common.ReqHead(),
['gun_uniid', 0, '枪械唯一id'],
['slot_id', 0, '槽id(0-1)'],
],
'response': [
_common.RspHead(),
['property_chg', _common.PropertyChg(), '属性变更'],
]
},
{
'name': 'upgradeLevelPreview',
'desc': '升等级',
@ -90,86 +76,6 @@ class Gun(object):
['!cost', [_common.AwardItem()], '所需费用'],
]
},
{
'name': 'upgradeQualityOld',
'desc': '升阶',
'group': 'Gun',
'url': 'webapp/index.php?c=Gun&a=upgradeQualityOld',
'params': [
_common.ReqHead(),
['gun_uniid', 0, '枪械唯一id'],
['cost_hero_uniid', 0, '耗材英雄唯一id'],
['slot_id', 0, '槽id(0-1)'],
],
'response': [
_common.RspHead(),
['property_chg', _common.PropertyChg(), '属性变更'],
]
},
{
'name': 'upgradeQuality',
'desc': '升阶',
'group': 'Gun',
'url': 'webapp/index.php?c=Gun&a=upgradeQuality',
'params': [
_common.ReqHead(),
['trans_id', 0, 'transId'],
['token_id1', 0, '枪械token'],
['token_id2', 0, '耗材枪械token'],
],
'response': [
_common.RspHead(),
]
},
{
'name': 'upgradeQualityPreview',
'desc': '升阶',
'group': 'Gun',
'url': 'webapp/index.php?c=Gun&a=upgradeQualityPreview',
'params': [
_common.ReqHead(),
['gun_uniid', 0, '枪械唯一id'],
['cost_gun_uniid', 0, '耗材枪械唯一id'],
],
'response': [
_common.RspHead(),
['old_gun', _common.Gun(), '枪械-老'],
['new_gun', _common.Gun(), '枪械-新'],
['cost', _common.Cost(), '所需费用'],
]
},
{
'name': 'receiveUpgradeQuality',
'desc': '获取升阶后的武器',
'group': 'Gun',
'url': 'webapp/index.php?c=Gun&a=receiveUpgradeQuality',
'params': [
_common.ReqHead(),
['trans_id', 0, 'transId'],
['token_id', 0, '枪械token'],
],
'response': [
_common.RspHead(),
['property_chg', _common.PropertyChg(), '属性变更'],
]
},
{
'name': 'receive',
'desc': '获取升级、升阶后的武器',
'group': 'Gun',
'url': 'webapp/index.php?c=Gun&a=receive',
'params': [
_common.ReqHead(),
['type', 0, '1:领取升级 2:领取升阶'],
['gun_uniid', 0, '枪械唯一id'],
],
'response': [
_common.RspHead(),
['state', 0, '0:失败 1:成功'],
['old_hero', _common.Gun(), '枪械-老'],
['new_hero', _common.Gun(), '枪械-新'],
]
},
{
'name': 'gunDetails',
'desc': '武器详情',
@ -184,19 +90,6 @@ class Gun(object):
['!data', [_common.Gun()], '枪械信息']
]
},
{
'name': 'getUpgradeQualityList',
'desc': '获取升阶中的枪械列表',
'group': 'Gun',
'url': 'webapp/index.php?c=Hero&a=getUpgradeQualityList',
'params': [
_common.ReqHead(),
],
'response': [
_common.RspHead(),
['!infos', [_common.QualityingGun()], '升阶中的枪械列表'],
]
},
{
'name': 'upgradeLv',
'desc': '升等级',

View File

@ -47,37 +47,6 @@ class Hero(object):
_common.RspHead(),
]
},
{
'name': 'upgradeSkill',
'desc': '升技能',
'group': 'Hero',
'url': 'webapp/index.php?c=Hero&a=upgradeSkill',
'params': [
_common.ReqHead(),
['hero_uniid', 0, '英雄唯一id'],
['skill_uniid', 0, '技能唯一id'],
['skill_idx', 0, '技能idx 0主动技能1被动技能'],
],
'response': [
_common.RspHead(),
['property_chg', _common.PropertyChg(), '属性变更'],
]
},
{
'name': 'upgradeLevel',
'desc': '升等级',
'group': 'Hero',
'url': 'webapp/index.php?c=Hero&a=upgradeLevel',
'params': [
_common.ReqHead(),
['hero_uniid', 0, '英雄唯一id'],
['slot_id', 0, '槽id(0-1)'],
],
'response': [
_common.RspHead(),
['property_chg', _common.PropertyChg(), '属性变更'],
]
},
{
'name': 'upgradeLevelPreview',
'desc': '升等级',
@ -94,112 +63,6 @@ class Hero(object):
['cost', _common.Cost(), '所需费用'],
]
},
{
'name': 'getUpgradeLevelList',
'desc': '获取升级中的英雄列表',
'group': 'Hero',
'url': 'webapp/index.php?c=Hero&a=getUpgradeLevelList',
'params': [
_common.ReqHead(),
],
'response': [
_common.RspHead(),
['!infos', [_common.LevelingHero()], '升级中的英雄列表'],
]
},
{
'name': 'upgradeQuality',
'desc': '升阶',
'group': 'Hero',
'url': 'webapp/index.php?c=Hero&a=upgradeQuality',
'params': [
_common.ReqHead(),
['trans_id', 0, 'transId'],
['token_id1', 0, '英雄token'],
['token_id2', 0, '耗材英雄token'],
],
'response': [
_common.RspHead(),
]
},
{
'name': 'receiveUpgradeQuality',
'desc': '领取升阶',
'group': 'Hero',
'url': 'webapp/index.php?c=Hero&a=receiveUpgradeQuality',
'params': [
_common.ReqHead(),
['trans_id', 0, 'transId'],
['token_id', 0, '英雄token'],
],
'response': [
_common.RspHead(),
['property_chg', _common.PropertyChg(), '属性变更'],
]
},
{
'name': 'upgradeQualityOld',
'desc': '升阶',
'group': 'Hero',
'url': 'webapp/index.php?c=Hero&a=upgradeQualityOld',
'params': [
_common.ReqHead(),
['hero_uniid', 0, '英雄唯一id'],
['slot_id', 0, '槽id(0-1)'],
['cost_hero_uniid', 0, '耗材英雄唯一id'],
],
'response': [
_common.RspHead(),
['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(), '英雄-新'],
['cost', _common.Cost(), '所需费用'],
]
},
{
'name': 'getUpgradeQualityList',
'desc': '获取升阶中的英雄列表',
'group': 'Hero',
'url': 'webapp/index.php?c=Hero&a=getUpgradeQualityList',
'params': [
_common.ReqHead(),
],
'response': [
_common.RspHead(),
['!infos', [_common.QualityingHero()], '升阶中的英雄列表'],
]
},
{
'name': 'receive',
'desc': '领取升级/升阶英雄',
'group': 'Hero',
'url': 'webapp/index.php?c=Hero&a=receive',
'params': [
_common.ReqHead(),
['type', 0, '1:领取升级 2:领取升阶'],
['hero_uniid', 0, '英雄唯一id'],
],
'response': [
_common.RspHead(),
['state', 0, '0:失败 1:成功'],
['old_hero', _common.Hero(), '英雄-老'],
['new_hero', _common.Hero(), '英雄-新'],
]
},
{
'name': 'heroDetails',
'desc': '英雄详情',
@ -215,20 +78,6 @@ class Hero(object):
]
},
{
'name': 'upgradeSkillCommon',
'desc': '通用技能升级',
'group': 'Hero',
'url': 'webapp/index.php?c=Hero&a=upgradeSkillCommon',
'params': [
_common.ReqHead(),
['hero_uniid', 0, '英雄唯一id'],
['skill_index', 0, '通用技能下标'],
],
'response': [
_common.RspHead(),
['property_chg', _common.PropertyChg(), '属性变更'],
]
},{
'name': 'upgradeLv',
'desc': '升级',
'group': 'Hero',