50 lines
1.2 KiB
Python
50 lines
1.2 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
import _common
|
|
|
|
class HangController(object):
|
|
|
|
def __init__(self):
|
|
self.apis = [
|
|
{
|
|
'desc': 'getTime',
|
|
'url': 'webapp/index.php?c=HangController&a=getTime',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
{
|
|
'desc': 'getRedInfo',
|
|
'url': 'webapp/index.php?c=HangController&a=getRedInfo',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
{
|
|
'desc': 'getOnlineReward',
|
|
'url': 'webapp/index.php?c=HangController&a=getOnlineReward',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
{
|
|
'desc': 'getHangDoubleReward',
|
|
'url': 'webapp/index.php?c=HangController&a=getHangDoubleReward',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
]
|