1
This commit is contained in:
parent
dcb2ce12c8
commit
c1e7b94b92
23
doc/Staking.py
Normal file
23
doc/Staking.py
Normal file
@ -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()], '商品列表'],
|
||||||
|
]
|
||||||
|
},
|
||||||
|
]
|
Loading…
x
Reference in New Issue
Block a user