1
This commit is contained in:
parent
620a968436
commit
8232de31ab
@ -17,7 +17,7 @@ class Ranking(object):
|
||||
],
|
||||
'response': [
|
||||
_common.RspHead(),
|
||||
['ranking_list', [_common.RankingList], '排行榜数据']
|
||||
['ranking_list', _common.RankingList(), '排行榜数据']
|
||||
]
|
||||
}
|
||||
]
|
||||
|
@ -37,6 +37,7 @@ class UserInfo(object):
|
||||
|
||||
def __init__(self):
|
||||
self.fields = [
|
||||
['activate', 0, '是否已激活'],
|
||||
['account_id', '', '账号id'],
|
||||
['name', '', '用户名字'],
|
||||
['head_id', 0, '头像id'],
|
||||
@ -47,7 +48,8 @@ class UserInfo(object):
|
||||
['diamond', 0, '钻石'],
|
||||
['hero_id', 0, '当前使用的英雄ID'],
|
||||
['first_fight', 0, '是否是第一次战斗'],
|
||||
['activate', 0, '是否已激活'],
|
||||
['!head_list', [0], '拥有的头像列表'],
|
||||
['!head_frame_list', [0], '拥有的头像框列表'],
|
||||
]
|
||||
|
||||
class Hero(object):
|
||||
@ -241,6 +243,6 @@ class RankingList(object):
|
||||
def __init__(self):
|
||||
self.fields = [
|
||||
['type', 0, '排行榜类型 1:积分榜'],
|
||||
['!ranking_list', [_RankingItem()], '排行榜']
|
||||
['!ranking_list', [RankingItem()], '排行榜'],
|
||||
['my_ranked', 0, '我的排名'],
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user