game2005api/doc/Shop.py
aozhiwei afaa2b19ea 1
2021-11-29 14:44:29 +08:00

26 lines
720 B
Python

# -*- coding: utf-8 -*-
import _common
class Shop(object):
def __init__(self):
self.apis = [
{
'name': 'buy',
'desc': '购买英雄',
'group': 'Shop',
'url': 'webapp/index.php?c=Shop&a=buy',
'params': [
_common.ReqHead(),
['shop_id', '', '商店id'],
['goods_id', '', '商品id'],
],
'response': [
_common.RspHead(),
['award', _common.Award(), '奖励信息'],
['property_chg', _common.PropertyChg(), '属性变更'],
]
},
]