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

50 lines
1.2 KiB
Python

# -*- coding: utf-8 -*-
import _common
class ShopController(object):
def __init__(self):
self.apis = [
{
'desc': 'newShopInfo',
'url': 'webapp/index.php?c=ShopController&a=newShopInfo',
'params': [
_common.ReqHead(),
],
'response': [
_common.RspHead(),
]
},
{
'desc': 'flushShopItem',
'url': 'webapp/index.php?c=ShopController&a=flushShopItem',
'params': [
_common.ReqHead(),
],
'response': [
_common.RspHead(),
]
},
{
'desc': 'newBuyShopItem',
'url': 'webapp/index.php?c=ShopController&a=newBuyShopItem',
'params': [
_common.ReqHead(),
],
'response': [
_common.RspHead(),
]
},
{
'desc': 'shopBuyMore',
'url': 'webapp/index.php?c=ShopController&a=shopBuyMore',
'params': [
_common.ReqHead(),
],
'response': [
_common.RspHead(),
]
},
]