...
This commit is contained in:
parent
c8a01d8cd3
commit
2e94814b36
@ -19,6 +19,13 @@ class NftIntro(object):
|
||||
['c_id', 0, '缓存-idx'],
|
||||
['details', _common.NftDetail(), 'nft列表'],
|
||||
]
|
||||
|
||||
class CurrencyType(object):
|
||||
def __init__(self):
|
||||
self.fields = [
|
||||
['name', '', '货币名称'],
|
||||
['address', '', '货币地址'],
|
||||
]
|
||||
class Market(object):
|
||||
|
||||
def __init__(self):
|
||||
@ -397,4 +404,17 @@ class Market(object):
|
||||
_common.RspHead()
|
||||
]
|
||||
},
|
||||
{
|
||||
'name': 'getSupportedCurrencyTypes',
|
||||
'desc': '获取支持的货币类型',
|
||||
'group': 'Market',
|
||||
'url': 'webapp/index.php?c=Market&a=getSupportedCurrencyTypes',
|
||||
'params': [
|
||||
['account', '', '账号id'],
|
||||
],
|
||||
'response': [
|
||||
_common.RspHead(),
|
||||
['!list', [CurrencyType()], '货币类型列表'],
|
||||
]
|
||||
}
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user