game2005api/doc/NShop.py
2021-11-17 16:37:19 +08:00

109 lines
2.7 KiB
Python

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