1
This commit is contained in:
parent
1bc9cc59f4
commit
d9c50e84f1
@ -1,5 +1,31 @@
|
||||
import _common
|
||||
|
||||
class circuitInfo(object):
|
||||
|
||||
def __init__(self):
|
||||
self.fields = [
|
||||
['start_time', 0, '开始时间'],
|
||||
['end_time', 0, '结束时间'],
|
||||
['ranking', 0, '排名'],
|
||||
['score', 0, '积分'],
|
||||
]
|
||||
|
||||
class rankingInfo(object):
|
||||
|
||||
def __init__(self):
|
||||
self.fields = [
|
||||
['account_id', 0, 'account'],
|
||||
['name', 0, '名字'],
|
||||
['head_id', 0, '头像'],
|
||||
['head_frame', 0, '头像框'],
|
||||
['hero_id', 0, '英雄ItemId'],
|
||||
['skin_id', 0, '皮肤ItemId'],
|
||||
['ranking', 0, '排名'],
|
||||
['score', 0, '积分'],
|
||||
['score_boost', 0, '加成的积分'],
|
||||
['cec', 0, 'cec(个人榜信息才有)'],
|
||||
]
|
||||
|
||||
class AAMarket(object):
|
||||
|
||||
def __init__(self):
|
||||
@ -598,4 +624,32 @@ class AAMarket(object):
|
||||
], '开关信息(如果没有则默认为未开启)'],
|
||||
]
|
||||
},
|
||||
{
|
||||
'method': 'GET',
|
||||
'name': '/api/circuit_ranking',
|
||||
'desc': '巡回赛赛季排行',
|
||||
'group': '!AAMarket',
|
||||
'url': 'https://market-test.kingsome.cn/api/circuit_ranking',
|
||||
'params': [
|
||||
['address', '0', 'address'],
|
||||
],
|
||||
'response': [
|
||||
_common.RspHead(),
|
||||
['!rank_list', [rankingInfo()], '榜'],
|
||||
['info', circuitInfo(), '信息'],
|
||||
]
|
||||
},{
|
||||
'name': '/api/circuit_phase_ranking',
|
||||
'desc': '巡回赛周期排行',
|
||||
'group': '!AAMarket',
|
||||
'url': 'https://market-test.kingsome.cn/api/circuit_phase_ranking',
|
||||
'params': [
|
||||
['address', '0', 'address'],
|
||||
],
|
||||
'response': [
|
||||
_common.RspHead(),
|
||||
['!rank_list', [rankingInfo()], '榜'],
|
||||
['info', circuitInfo(), '信息'],
|
||||
]
|
||||
}
|
||||
]
|
||||
|
@ -143,8 +143,8 @@ class Battle(object):
|
||||
['pve_wave', 0, 'pve波次'],
|
||||
['pve_max_wave', 0, 'pve最大波次'],
|
||||
|
||||
['!members', _common.TeamReportMember(), '成员数据'],
|
||||
['!team_list', _common.TeamReportTeam(), '所有队伍成员数据']
|
||||
#['!members', _common.TeamReportMember(), '成员数据'],
|
||||
#['!team_list', _common.TeamReportTeam(), '所有队伍成员数据']
|
||||
],
|
||||
'response': [
|
||||
_common.RspHead(),
|
||||
@ -162,7 +162,7 @@ class Battle(object):
|
||||
['room_mode', 0, '0:pvp 1:pve 2:moba'],
|
||||
['map_mode', 0, ''],
|
||||
['map_id', 0, '地图id'],
|
||||
['!team_list', [_common.MFRoomReportTeam()], '所有队伍数据']
|
||||
#['!team_list', [_common.MFRoomReportTeam()], '所有队伍数据']
|
||||
],
|
||||
'response': [
|
||||
_common.RspHead(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user