1
This commit is contained in:
parent
1b8dc147ee
commit
d53e2c3105
@ -333,10 +333,9 @@ class AAMarket(object):
|
|||||||
{
|
{
|
||||||
'method': 'POST',
|
'method': 'POST',
|
||||||
'name': '/api/chain/event/activity/:account_address',
|
'name': '/api/chain/event/activity/:account_address',
|
||||||
'desc': '获取钱包链活动时间',
|
'desc': '获取钱包链活动',
|
||||||
'group': '!AAMarket',
|
'group': '!AAMarket',
|
||||||
'url': 'https://market-test.kingsome.cn/api/chain/activity/:account_address',
|
'url': 'https://market-test.kingsome.cn/api/chain/activity/:account_address',
|
||||||
'headers': _common.JwtHeader,
|
|
||||||
'is_json_params': True,
|
'is_json_params': True,
|
||||||
'request_params': [
|
'request_params': [
|
||||||
],
|
],
|
||||||
@ -348,19 +347,18 @@ class AAMarket(object):
|
|||||||
], '模糊查询'],
|
], '模糊查询'],
|
||||||
['filter', [
|
['filter', [
|
||||||
['!item_ids', [0], '道具id列表 空(所有)'],
|
['!item_ids', [0], '道具id列表 空(所有)'],
|
||||||
['!hero_ranks', [0], '英雄品阶列表 空(所有)']
|
|
||||||
], '过滤条件'],
|
], '过滤条件'],
|
||||||
['sort', [
|
['sort', [
|
||||||
['!fields', [
|
['!fields', [
|
||||||
['name', '', '字段名 目前支持的字段(price)'],
|
['name', '', '字段名 目前支持的字段'],
|
||||||
['type', 0, '排序方式 -1:倒序 0:默认排序 1:正序'],
|
['type', 0, '排序方式 -1:倒序 0:默认排序 1:正序'],
|
||||||
], '排序字段']
|
], '排序字段']
|
||||||
], '排序规则'],
|
], '排序规则目前无'],
|
||||||
],
|
],
|
||||||
'response': [
|
'response': [
|
||||||
_common.RspHead(),
|
_common.RspHead(),
|
||||||
['page', _common.StreamPage(), '分页信息'],
|
['page', _common.StreamPage(), '分页信息'],
|
||||||
['!rows', [_common.MarketGoods()], '数据'],
|
['!rows', [_common.ChainActivity()], '数据'],
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
@ -1809,3 +1809,14 @@ class AssetNftInfo(object):
|
|||||||
[NftGoldBullionDetail(), '英雄'],
|
[NftGoldBullionDetail(), '英雄'],
|
||||||
]), 'nft详细信息'],
|
]), 'nft详细信息'],
|
||||||
]
|
]
|
||||||
|
|
||||||
|
class ChainActivity(object):
|
||||||
|
|
||||||
|
def __init__(self):
|
||||||
|
self.fields = [
|
||||||
|
['nft', NftInfo(), 'nft信息'],
|
||||||
|
['type', '', '1:mint 2:lock 3:unlock'],
|
||||||
|
['from', '', 'from'],
|
||||||
|
['to', '', 'to'],
|
||||||
|
['date', '', '事件发生时间'],
|
||||||
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user