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

100 lines
2.5 KiB
Python

# -*- coding: utf-8 -*-
import _common
class NShopController(object):
def __init__(self):
self.apis = [
{
'desc': 'getGunInfo',
'url': 'webapp/index.php?c=NShopController&a=getGunInfo',
'params': [
_common.ReqHead(),
],
'response': [
_common.RspHead(),
]
},
{
'desc': 'getShopData',
'url': 'webapp/index.php?c=NShopController&a=getShopData',
'params': [
_common.ReqHead(),
],
'response': [
_common.RspHead(),
]
},
{
'desc': 'getAllItem',
'url': 'webapp/index.php?c=NShopController&a=getAllItem',
'params': [
_common.ReqHead(),
],
'response': [
_common.RspHead(),
]
},
{
'desc': 'getLimitTypeCnt',
'url': 'webapp/index.php?c=NShopController&a=getLimitTypeCnt',
'params': [
_common.ReqHead(),
],
'response': [
_common.RspHead(),
]
},
{
'desc': 'getItemIDByGoodsID',
'url': 'webapp/index.php?c=NShopController&a=getItemIDByGoodsID',
'params': [
_common.ReqHead(),
],
'response': [
_common.RspHead(),
]
},
{
'desc': 'buyGunSkin',
'url': 'webapp/index.php?c=NShopController&a=buyGunSkin',
'params': [
_common.ReqHead(),
],
'response': [
_common.RspHead(),
]
},
{
'desc': 'buyItem',
'url': 'webapp/index.php?c=NShopController&a=buyItem',
'params': [
_common.ReqHead(),
],
'response': [
_common.RspHead(),
]
},
{
'desc': 'updateLimitGoodsCnt',
'url': 'webapp/index.php?c=NShopController&a=updateLimitGoodsCnt',
'params': [
_common.ReqHead(),
],
'response': [
_common.RspHead(),
]
},
{
'desc': 'initAllItem',
'url': 'webapp/index.php?c=NShopController&a=initAllItem',
'params': [
_common.ReqHead(),
],
'response': [
_common.RspHead(),
]
},
]