game2006api/doc/BattleHistory.py
hujiabin 30241e3cb1 1
2024-04-22 15:16:49 +08:00

27 lines
757 B
Python

# -*- coding: utf-8 -*-
import _common
class BattleHistory(object):
def __init__(self):
self.apis = [
{
'name': 'getBattleList',
'desc': '历史战绩',
'group': 'BattleHistory',
'url': 'webapp/index.php?c=BattleHistory&a=getBattleList',
'params': [
_common.ReqHead(),
['target_id', '', ' 用户 account'],
['room_mode', '', ' 0:pvp 2:moba'],
],
'response': [
_common.RspHead(),
['!data', [_common.BattleSettlementMembersInfo()], '战绩数据'],
]
},
]