diff --git a/doc/Staking.py b/doc/Staking.py new file mode 100644 index 00000000..6996cacf --- /dev/null +++ b/doc/Staking.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- + +import _common + +class Staking(object): + + def __init__(self): + self.apis = [ + { + 'name': 'getGoodsList', + 'desc': '获取商品列表', + 'group': 'Staking', + 'url': 'webapp/index.php?c=Staking&a=getGoodsList', + 'params': [ + _common.ReqHead(), + ['shop_id', 0, '商店id'], + ], + 'response': [ + _common.RspHead(), + ['!goods_list', [_common.Goods()], '商品列表'], + ] + }, + ]