1
This commit is contained in:
parent
cf4bfc959b
commit
59e1e82260
@ -317,4 +317,50 @@ class AAMarket(object):
|
||||
['contribution_point', 0, '贡献点'],
|
||||
]
|
||||
},
|
||||
{
|
||||
'method': 'GET',
|
||||
'name': '/api/chain/txhash/:net_id/:txhash',
|
||||
'desc': '返回txhash是否已被服务器确认',
|
||||
'group': '!AAMarket',
|
||||
'url': '/api/chain/txhash/:net_id/:txhash',
|
||||
'params': [
|
||||
],
|
||||
'response': [
|
||||
_common.RspHead(),
|
||||
['confirmed', 0, '是否已确认'],
|
||||
]
|
||||
},
|
||||
{
|
||||
'method': 'POST',
|
||||
'name': '/api/chain/event/activity/:account_address',
|
||||
'desc': '获取钱包链活动时间',
|
||||
'group': '!AAMarket',
|
||||
'url': 'https://market-test.kingsome.cn/api/chain/activity/:account_address',
|
||||
'headers': _common.JwtHeader,
|
||||
'is_json_params': True,
|
||||
'request_params': [
|
||||
],
|
||||
'params': [
|
||||
['page_size', 0, '每页大小'],
|
||||
['cursor', '', '游标 第一页传空'],
|
||||
['search', [
|
||||
['name', '', '名字查询 空(所有)'],
|
||||
], '模糊查询'],
|
||||
['filter', [
|
||||
['!item_ids', [0], '道具id列表 空(所有)'],
|
||||
['!hero_ranks', [0], '英雄品阶列表 空(所有)']
|
||||
], '过滤条件'],
|
||||
['sort', [
|
||||
['!fields', [
|
||||
['name', '', '字段名 目前支持的字段(price)'],
|
||||
['type', 0, '排序方式 -1:倒序 0:默认排序 1:正序'],
|
||||
], '排序字段']
|
||||
], '排序规则'],
|
||||
],
|
||||
'response': [
|
||||
_common.RspHead(),
|
||||
['page', _common.StreamPage(), '分页信息'],
|
||||
['!rows', [_common.MarketGoods()], '数据'],
|
||||
]
|
||||
},
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user