This commit is contained in:
aozhiwei 2024-11-20 11:39:58 +08:00
parent 094af88a2a
commit 8bdd8a2a9a
2 changed files with 24 additions and 0 deletions

View File

@ -30,6 +30,7 @@ class AAWheel(object):
'headers': _common.JwtHeader,
'is_json_params': True,
'params': [
['forward_point', 0, '指定前进点数(会扣除spec_dice数量,0随机)'],
],
'response': [
_common.RspHead(),
@ -129,4 +130,18 @@ class AAWheel(object):
['info', _common.WheelUser(), '用户信息'],
]
},
{
'method': 'GET',
'name': '/api/v1/buff/list',
'desc': 'buff-列表',
'group': '!AAWheel',
'url': 'https://wheel-test.kingsome.cn/api/v1/buff/list',
'headers': _common.JwtHeader,
'params': [
],
'response': [
_common.RspHead(),
['!data', [_common.WheelBuff()], '商品列表'],
]
},
]

View File

@ -1964,6 +1964,7 @@ class WheelUser(object):
['score', '', '积分'],
['hourly_earnings', 0, '每小时收益'],
['dice', 0, '骰子数'],
['spec_dice', 0, '特殊骰子数(道具)'],
]
class WheelAwardItem(object):
@ -2025,3 +2026,11 @@ class WheelGoods(object):
self.fields = [
['item_id', 0, '道具id'],
]
class WheelBuff(object):
def __init__(self):
self.fields = [
['buff_id', 0, 'buff id'],
['duration_time', 0, 'buff持续时间(单位秒)'],
]