From 495afd714d6a81270a0dea66a5338c108afbfebe Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sat, 17 Aug 2024 15:59:08 +0800 Subject: [PATCH] 1 --- doc/AAMarket.py | 3 +-- doc/_common.py | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/AAMarket.py b/doc/AAMarket.py index d0e0a2b0..58c9a358 100644 --- a/doc/AAMarket.py +++ b/doc/AAMarket.py @@ -496,7 +496,7 @@ class AAMarket(object): 'desc': '充值-通过邮件购买', 'group': '!AAMarket', 'url': 'https://market-test.kingsome.cn/api/recharge/buy_with_email', - 'headers': _common.JwtHeader, + 'headers': _common.JcJwtHeader, 'is_json_params': True, 'request_params': [ ], @@ -506,7 +506,6 @@ class AAMarket(object): ['goods_num', '', '商品数量'], ['account_address', '', '钱包地址(一般为小狐狸)'], ['currency_address', '', '货币地址'], - ['email', '', 'email'], ], 'response': [ _common.RspHead(), diff --git a/doc/_common.py b/doc/_common.py index 52ff0dd7..d0203317 100644 --- a/doc/_common.py +++ b/doc/_common.py @@ -31,6 +31,10 @@ PassportJwtHeader = [ 'Authorization Bearer {JwtToken} passport jwt' ] +JcJwtHeader = [ + 'Authorization Bearer {JwtToken} 洪亮 jwt' +] + MaybeJwtHeader = [ 'Authorization Bearer {JwtToken} 可选参数' ]