From 2bb00c853c46c14992d4b1a5e83ba0db2c34e060 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 21 Feb 2022 19:20:02 +0800 Subject: [PATCH] 1 --- doc/Market.py | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) 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': '获取预售信息',