98 lines
2.4 KiB
Python
98 lines
2.4 KiB
Python
# -*- 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(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
{
|
|
'desc': 'getFirstReward',
|
|
'group': 'GameOver',
|
|
'url': 'webapp/index.php?c=GameOver&a=getFirstReward',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
{
|
|
'desc': 'getFuckBoxReward',
|
|
'group': 'GameOver',
|
|
'url': 'webapp/index.php?c=GameOver&a=getFuckBoxReward',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
{
|
|
'desc': 'getDiamond',
|
|
'group': 'GameOver',
|
|
'url': 'webapp/index.php?c=GameOver&a=getDiamond',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
{
|
|
'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(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
{
|
|
'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(),
|
|
]
|
|
},
|
|
]
|