1
This commit is contained in:
parent
47a04454db
commit
eb49388adb
@ -25,7 +25,6 @@ class Season(object):
|
|||||||
'url': 'webapp/index.php?c=Season&a=infoNew',
|
'url': 'webapp/index.php?c=Season&a=infoNew',
|
||||||
'params': [
|
'params': [
|
||||||
_common.ReqHead(),
|
_common.ReqHead(),
|
||||||
['rank', '', '段位id'],
|
|
||||||
],
|
],
|
||||||
'response': [
|
'response': [
|
||||||
_common.RspHead(),
|
_common.RspHead(),
|
||||||
|
@ -445,12 +445,21 @@ class Season(object):
|
|||||||
['score', 0, '排位分'],
|
['score', 0, '排位分'],
|
||||||
['next_score', 0, '下阶段排位分'],
|
['next_score', 0, '下阶段排位分'],
|
||||||
['season_end_time', 0, '赛季结束时间'],
|
['season_end_time', 0, '赛季结束时间'],
|
||||||
['season_reward', 0, '赛季该获得的奖励'],
|
['season_reward',SeasonReward(), '赛季该获得的奖励'],
|
||||||
['!season_rank', [SeasonRank()], '赛季排行信息'],
|
['!season_rank', [SeasonRank()], '赛季排行信息'],
|
||||||
['season_data','' , '赛季胜利信息'],
|
['season_data','' , '赛季胜利信息'],
|
||||||
['season_hero', '', '赛季英雄信息'],
|
['season_hero', '', '赛季英雄信息'],
|
||||||
]
|
]
|
||||||
|
|
||||||
|
class SeasonReward(object):
|
||||||
|
|
||||||
|
def __init__(self):
|
||||||
|
self.fields = [
|
||||||
|
['reward_id', 0, '奖励的item id'],
|
||||||
|
['reward_num', 0, '奖励的数量'],
|
||||||
|
|
||||||
|
]
|
||||||
|
|
||||||
class SeasonRank(object):
|
class SeasonRank(object):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user