This commit is contained in:
aozhiwei 2024-09-12 10:49:23 +08:00
parent 5865be0e7d
commit f866c5b91b
2 changed files with 40 additions and 1 deletions

View File

@ -533,6 +533,37 @@ class AAMarket(object):
['!rows', [_common.RechargeHistory()], '数据'], ['!rows', [_common.RechargeHistory()], '数据'],
] ]
}, },
{
'method': 'POST',
'name': '/api/vip/bind',
'desc': '充值-历史',
'group': '!AAMarket',
'url': 'https://market-test.kingsome.cn/api/vip/bind',
'is_json_params': True,
'headers': _common.JcJwtHeader,
'request_params': [
],
'params': [
['passport_jwt', 0, 'passport_jwt'],
],
'response': [
_common.RspHead(),
]
},
{
'method': 'GET',
'name': '/api/vip/info',
'desc': '充值-历史',
'group': '!AAMarket',
'url': 'https://market-test.kingsome.cn/api/vip/info',
'headers': _common.JcJwtHeader,
'params': [
],
'response': [
_common.RspHead(),
['info', _common.VipInfo(), 'vip信息'],
]
},
{ {
'method': 'GET', 'method': 'GET',
'name': '/api/server_switch', 'name': '/api/server_switch',

View File

@ -32,7 +32,7 @@ PassportJwtHeader = [
] ]
JcJwtHeader = [ JcJwtHeader = [
'Authorization Bearer {JwtToken} 洪亮 jwt' 'Authorization Bearer {JwtToken} 洪亮 jwt(小狐狸)'
] ]
MaybeJwtHeader = [ MaybeJwtHeader = [
@ -1916,3 +1916,11 @@ class CecContributionActivity(object):
['total_cec_pool', 0, 'cec总奖池'], ['total_cec_pool', 0, 'cec总奖池'],
['my_expected_cec', 0, '我预计可得cec'], ['my_expected_cec', 0, '我预计可得cec'],
] ]
class VipInfo(object):
def __init__(self):
self.fields = [
['bind_passport_address', 0, '绑定的passport地址'],
]