This commit is contained in:
songliang 2022-12-06 10:37:31 +08:00
parent 179636f7e8
commit 1456f7ac09

View File

@ -2,6 +2,22 @@
import _common
class NftIntro(object):
def __init__(self):
self.fields = [
['idx', 0, 'idx'],
['token_id', '', 'token_id'],
['token_type', 0, 'nft类型 1:英雄 2:枪支 3:芯片'],
['createtime', 0, '创建时间(上架时间)'],
['modifytime', 0, '修改时间(更新价格等)'],
['s_price', 0, '出售价格-暂定'],
['c_name', '', '缓存-名称'],
['c_job', 0, '缓存-职业'],
['c_lv', 0, '缓存-级别'],
['c_id', 0, '缓存-idx'],
['details', [_common.NftDetail()], 'nft列表'],
]
class Market(object):
def __init__(self):
@ -310,7 +326,7 @@ class Market(object):
['total', 0, '出售的列表总数量(当前过滤配置)'],
['start', 0, '有效的分页偏移'],
['page_size', 0, '有效的分页大小'],
['!nfts', [_common.NftDetail()], 'nft列表'],
['!nfts', [NftIntro()], 'nft列表'],
]
},
]