历史战绩

This commit is contained in:
hujiabin 2022-10-09 11:51:07 +08:00
parent 16b8525f5f
commit 1b63036f73

View File

@ -19,6 +19,20 @@ class Battle(object):
_common.RspHead(),
['pre_battle_payload', '', '透传给战斗的CMJoin.pre_battle_payload(该信息里携带了战斗服需要校验的信息,防止客户端伪造数据)']
]
},{
'method': 'GET',
'name': 'getBattleHistory',
'desc': '历史战绩',
'group': 'Battle',
'url': 'webapp/index.php?c=Battle&a=getBattleHistory',
'params': [
_common.ReqHead(),
['mode', _common.BattleMember(), '0:pvp 1:排位 2:pve']
],
'response': [
_common.RspHead(),
['!data', _common.BattleHistory(), '战绩数据'],
]
},
]
self.internalApis = [
@ -91,18 +105,4 @@ class Battle(object):
_common.RspHead(),
]
},
{
'desc': '历史战绩',
'group': 'Battle',
'url': 'webapp/index.php?c=Battle&a=getBattleHistory',
'params': [
_common.ReqHead(),
['mode', _common.BattleMember(), '0:pvp 1:排位 2:pve']
],
'response': [
_common.RspHead(),
['!data', _common.BattleHistory(), '战绩数据'],
]
},
]