1
This commit is contained in:
parent
2c74d31e46
commit
e77f571817
@ -7,9 +7,10 @@ class AAMarket(object):
|
|||||||
{
|
{
|
||||||
'method': 'POST',
|
'method': 'POST',
|
||||||
'name': '/api/market/product/list/:net_id',
|
'name': '/api/market/product/list/:net_id',
|
||||||
'desc': '获取上架出售的NFTs(瀑布流式api)',
|
'desc': '获取上架出售的NFTs(瀑布流式api) jwtheader为可选参数',
|
||||||
'group': '!AAMarket',
|
'group': '!AAMarket',
|
||||||
'url': 'https://market-test.kingsome.cn/api/market/product/list/:net_id',
|
'url': 'https://market-test.kingsome.cn/api/market/product/list/:net_id',
|
||||||
|
'headers': _common.JwtHeader,
|
||||||
'is_json_params': True,
|
'is_json_params': True,
|
||||||
'request_params': [
|
'request_params': [
|
||||||
[':net_id', 0, '链id'],
|
[':net_id', 0, '链id'],
|
||||||
@ -39,6 +40,24 @@ class AAMarket(object):
|
|||||||
['!rows', [_common.MarketGoods()], '数据'],
|
['!rows', [_common.MarketGoods()], '数据'],
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'method': 'GET',
|
||||||
|
'name': '/api/market/product/query_price',
|
||||||
|
'desc': '查询在售卖商品价格',
|
||||||
|
'group': '!AAMarket',
|
||||||
|
'url': 'https://market-test.kingsome.cn/api/market/product/query_price',
|
||||||
|
'params': [
|
||||||
|
['net_id', 0, '链id'],
|
||||||
|
['contract_address', '', '合约地址'],
|
||||||
|
['item_id', '', '道具id'],
|
||||||
|
['quality', '', '道具品质(目前只有Hero生效)'],
|
||||||
|
],
|
||||||
|
'response': [
|
||||||
|
_common.RspHead(),
|
||||||
|
['lowest_price_goods', _common.MarketGoods(), '最低价格商品(如果没则为null)'],
|
||||||
|
['highest_price_goods', _common.MarketGoods(), '最高价格商品(如果没则为null)'],
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
'method': 'GET',
|
'method': 'GET',
|
||||||
'name': '/api/market/product/category/:net_id',
|
'name': '/api/market/product/category/:net_id',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user