54 lines
1.2 KiB
Python
54 lines
1.2 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
import _common
|
|
|
|
class Shop(object):
|
|
|
|
def __init__(self):
|
|
self.apis_ = [
|
|
{
|
|
'desc': 'newShopInfo',
|
|
'group': 'Shop',
|
|
'url': 'webapp/index.php?c=Shop&a=newShopInfo',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
{
|
|
'desc': 'flushShopItem',
|
|
'group': 'Shop',
|
|
'url': 'webapp/index.php?c=Shop&a=flushShopItem',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
{
|
|
'desc': 'newBuyShopItem',
|
|
'group': 'Shop',
|
|
'url': 'webapp/index.php?c=Shop&a=newBuyShopItem',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
{
|
|
'desc': 'shopBuyMore',
|
|
'group': 'Shop',
|
|
'url': 'webapp/index.php?c=Shop&a=shopBuyMore',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
]
|