add buyGoodsNew doc
This commit is contained in:
parent
f6924863af
commit
a1da43bff3
20
doc/Shop.py
20
doc/Shop.py
@ -77,5 +77,23 @@ class Shop(object):
|
||||
_common.RspHead(),
|
||||
['!shop_name_list', [_common.ShopName()], '商店id名字对应表']
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
'name': 'buyGoodsNew',
|
||||
'desc': '购买商品(新)',
|
||||
'group': 'Shop',
|
||||
'url': 'webapp/index.php?c=Shop&a=buyGoodsNew',
|
||||
'params': [
|
||||
_common.ReqHead(),
|
||||
['id', 0, '商品唯一id,参见shopGoods表'],
|
||||
['goods_num', 0, '商品数量'],
|
||||
],
|
||||
'response': [
|
||||
_common.RspHead(),
|
||||
['award', _common.Award(), '奖励信息'],
|
||||
['property_chg', _common.PropertyChg(), '属性变更'],
|
||||
['goods_chg', _common.NewGoods(), '购买后更新商品的最新信息(可能为null客户端需要做容错处理)'],
|
||||
]
|
||||
},
|
||||
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user