game2005api/doc/AdditemController.py
2021-11-17 15:55:16 +08:00

50 lines
1.2 KiB
Python

# -*- coding: utf-8 -*-
import _common
class AdditemController(object):
def __init__(self):
self.apis = [
{
'desc': 'additem',
'url': 'webapp/index.php?c=AdditemController&a=additem',
'params': [
_common.ReqHead(),
],
'response': [
_common.RspHead(),
]
},
{
'desc': 'addDiamond',
'url': 'webapp/index.php?c=AdditemController&a=addDiamond',
'params': [
_common.ReqHead(),
],
'response': [
_common.RspHead(),
]
},
{
'desc': 'addCoin',
'url': 'webapp/index.php?c=AdditemController&a=addCoin',
'params': [
_common.ReqHead(),
],
'response': [
_common.RspHead(),
]
},
{
'desc': 'getCoin',
'url': 'webapp/index.php?c=AdditemController&a=getCoin',
'params': [
_common.ReqHead(),
],
'response': [
_common.RspHead(),
]
},
]