# -*- coding: utf-8 -*- import _common class GameOver(object): def __init__(self): self.apis_ = [ { 'desc': '首战奖励信息firstRewardInfo', 'group': 'GameOver', 'url': 'webapp/index.php?c=GameOver&a=firstRewardInfo', 'params': [ _common.ReqHead(), ['rank', 0, '排名'], ['type', 0, '类型'], ['coin', 0, '金币'], ['kills', 0, '击杀数'], ], 'response': [ _common.RspHead(), ['first_uuid', '', '唯一id'], ['!item_list', _common.RewardItemInfo, '奖励信息列表'], ['coin', 0, '金币'], ['score', 0, '积分'], ] }, { 'desc': '获取首战奖励getFirstReward', 'group': 'GameOver', 'url': 'webapp/index.php?c=GameOver&a=getFirstReward', 'params': [ _common.ReqHead(), ['type', 0, '类型'], ['first_uuid', '', '唯一id'], ], 'response': [ _common.RspHead(), ['!item_list', _common.DropItemInfo, '掉落道具列表'], ['coin_num', 0, '当前金币数'], ['rmb_num', 0, '当前点券数量'], ['!all_item_list', _common.RewardItemInfo, '实际奖励的道具列表'], ] }, { 'desc': '获取Fuck宝箱?getFuckBoxReward', 'group': 'GameOver', 'url': 'webapp/index.php?c=GameOver&a=getFuckBoxReward', 'params': [ _common.ReqHead(), ['id', 0, 'id'], ], 'response': [ _common.RspHead(), ['!item_list', _common.DropItemInfo, '掉落道具列表'], ['coin_num', 0, '当前金币数'], ['rmb_num', 0, '当前点券数量'], ['!all_item_list', _common.RewardItemInfo, '实际奖励的道具列表'], ] }, { 'desc': '待删除updateDiamond', 'group': 'GameOver', 'url': 'webapp/index.php?c=GameOver&a=updateDiamond', 'params': [ _common.ReqHead(), ], 'response': [ _common.RspHead(), ] }, { 'desc': '添加战利品addSpoilsItems', 'group': 'GameOver', 'url': 'webapp/index.php?c=GameOver&a=addSpoilsItems', 'params': [ _common.ReqHead(), ['data', '', '数据json格式[{"values":[item_id, item_num]}]'], ], 'response': [ _common.RspHead(), ['!item_list', _common.DropItemInfo, '掉落道具列表'], ['coin_num', 0, '当前金币数'], ['rmb_num', 0, '当前点券数量'], ['!all_item_list', _common.RewardItemInfo, '实际奖励的道具列表'], ] }, { 'desc': '待删除fightRevive', 'group': 'GameOver', 'url': 'webapp/index.php?c=GameOver&a=fightRevive', 'params': [ _common.ReqHead(), ], 'response': [ _common.RspHead(), ] }, { 'desc': '添加游戏次数addGameTimes', 'group': 'GameOver', 'url': 'webapp/index.php?c=GameOver&a=addGameTimes', 'params': [ _common.ReqHead(), ], 'response': [ _common.RspHead(), ] }, ]