1
This commit is contained in:
commit
b3e81eb8bf
@ -536,7 +536,7 @@ class AAMarket(object):
|
|||||||
{
|
{
|
||||||
'method': 'POST',
|
'method': 'POST',
|
||||||
'name': '/api/vip/bind',
|
'name': '/api/vip/bind',
|
||||||
'desc': '充值-历史',
|
'desc': '绑定vip',
|
||||||
'group': '!AAMarket',
|
'group': '!AAMarket',
|
||||||
'url': 'https://market-test.kingsome.cn/api/vip/bind',
|
'url': 'https://market-test.kingsome.cn/api/vip/bind',
|
||||||
'is_json_params': True,
|
'is_json_params': True,
|
||||||
@ -553,7 +553,7 @@ class AAMarket(object):
|
|||||||
{
|
{
|
||||||
'method': 'GET',
|
'method': 'GET',
|
||||||
'name': '/api/vip/info',
|
'name': '/api/vip/info',
|
||||||
'desc': '充值-历史',
|
'desc': 'vip绑定信息',
|
||||||
'group': '!AAMarket',
|
'group': '!AAMarket',
|
||||||
'url': 'https://market-test.kingsome.cn/api/vip/info',
|
'url': 'https://market-test.kingsome.cn/api/vip/info',
|
||||||
'headers': _common.JcJwtHeader,
|
'headers': _common.JcJwtHeader,
|
||||||
@ -564,6 +564,20 @@ class AAMarket(object):
|
|||||||
['info', _common.VipInfo(), 'vip信息'],
|
['info', _common.VipInfo(), 'vip信息'],
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'method': 'GET',
|
||||||
|
'name': '/api/vip/details',
|
||||||
|
'desc': 'vip等级详情',
|
||||||
|
'group': '!AAMarket',
|
||||||
|
'url': 'https://market-test.kingsome.cn/api/vip/details',
|
||||||
|
'headers': _common.JcJwtHeader,
|
||||||
|
'params': [
|
||||||
|
],
|
||||||
|
'response': [
|
||||||
|
_common.RspHead(),
|
||||||
|
['info', _common.VipLevelInfo(), 'vip等级信息'],
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
'method': 'GET',
|
'method': 'GET',
|
||||||
'name': '/api/server_switch',
|
'name': '/api/server_switch',
|
||||||
|
@ -1925,3 +1925,12 @@ class VipInfo(object):
|
|||||||
['bind_passport_address', 0, '绑定的passport地址'],
|
['bind_passport_address', 0, '绑定的passport地址'],
|
||||||
['bind_email', 0, '绑定的email地址'],
|
['bind_email', 0, '绑定的email地址'],
|
||||||
]
|
]
|
||||||
|
|
||||||
|
class VipLevelInfo(object):
|
||||||
|
|
||||||
|
def __init__(self):
|
||||||
|
self.fields = [
|
||||||
|
['level', 0, '当前等级'],
|
||||||
|
['curpoint', 0, '当前点数'],
|
||||||
|
['target', 0, '升级所需点数,如为-1则已是最高等级'],
|
||||||
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user