diff --git a/doc/Market.py b/doc/Market.py index 371af48e..62a89f30 100644 --- a/doc/Market.py +++ b/doc/Market.py @@ -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': '获取预售信息',