90 lines
2.3 KiB
Python
90 lines
2.3 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
import _common
|
|
|
|
class GameOverController(object):
|
|
|
|
def __init__(self):
|
|
self.apis = [
|
|
{
|
|
'desc': 'firstRewardInfo',
|
|
'url': 'webapp/index.php?c=GameOverController&a=firstRewardInfo',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
{
|
|
'desc': 'getFirstReward',
|
|
'url': 'webapp/index.php?c=GameOverController&a=getFirstReward',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
{
|
|
'desc': 'getFuckBoxReward',
|
|
'url': 'webapp/index.php?c=GameOverController&a=getFuckBoxReward',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
{
|
|
'desc': 'getDiamond',
|
|
'url': 'webapp/index.php?c=GameOverController&a=getDiamond',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
{
|
|
'desc': 'updateDiamond',
|
|
'url': 'webapp/index.php?c=GameOverController&a=updateDiamond',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
{
|
|
'desc': 'addSpoilsItems',
|
|
'url': 'webapp/index.php?c=GameOverController&a=addSpoilsItems',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
{
|
|
'desc': 'fightRevive',
|
|
'url': 'webapp/index.php?c=GameOverController&a=fightRevive',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
{
|
|
'desc': 'addGameTimes',
|
|
'url': 'webapp/index.php?c=GameOverController&a=addGameTimes',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
]
|