1
This commit is contained in:
parent
d89ae88620
commit
2bb00c853c
@ -6,6 +6,33 @@ class Market(object):
|
||||
|
||||
def __init__(self):
|
||||
self.apis = [
|
||||
{
|
||||
'name': 'getNonce',
|
||||
'desc': '获取登录认证nonce',
|
||||
'group': 'Market',
|
||||
'url': 'webapp/index.php?c=Market&a=getNonce',
|
||||
'params': [
|
||||
['account', '', '钱包账号'],
|
||||
],
|
||||
'response': [
|
||||
_common.RspHead(),
|
||||
['nonce', '', 'nonce'],
|
||||
]
|
||||
},
|
||||
{
|
||||
'name': 'auth',
|
||||
'desc': '认证',
|
||||
'group': 'Market',
|
||||
'url': 'webapp/index.php?c=Market&a=auth',
|
||||
'params': [
|
||||
['account', '', '钱包账号'],
|
||||
['data', '', '待签名的原始数据(注意给的是完整的待签名数据),格式{name:"Auth", version: "1", nonce:"", signer:""}'],
|
||||
['signature', '', '签名'],
|
||||
],
|
||||
'response': [
|
||||
_common.RspHead(),
|
||||
]
|
||||
},
|
||||
{
|
||||
'name': 'getPreSaleInfo',
|
||||
'desc': '获取预售信息',
|
||||
|
Loading…
x
Reference in New Issue
Block a user