This commit is contained in:
hujiabin 2022-10-10 17:56:15 +08:00
parent 47a04454db
commit eb49388adb
2 changed files with 10 additions and 2 deletions

View File

@ -25,7 +25,6 @@ class Season(object):
'url': 'webapp/index.php?c=Season&a=infoNew',
'params': [
_common.ReqHead(),
['rank', '', '段位id'],
],
'response': [
_common.RspHead(),

View File

@ -445,12 +445,21 @@ class Season(object):
['score', 0, '排位分'],
['next_score', 0, '下阶段排位分'],
['season_end_time', 0, '赛季结束时间'],
['season_reward', 0, '赛季该获得的奖励'],
['season_reward',SeasonReward(), '赛季该获得的奖励'],
['!season_rank', [SeasonRank()], '赛季排行信息'],
['season_data','' , '赛季胜利信息'],
['season_hero', '', '赛季英雄信息'],
]
class SeasonReward(object):
def __init__(self):
self.fields = [
['reward_id', 0, '奖励的item id'],
['reward_num', 0, '奖励的数量'],
]
class SeasonRank(object):
def __init__(self):