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