1
This commit is contained in:
parent
094af88a2a
commit
8bdd8a2a9a
@ -30,6 +30,7 @@ class AAWheel(object):
|
|||||||
'headers': _common.JwtHeader,
|
'headers': _common.JwtHeader,
|
||||||
'is_json_params': True,
|
'is_json_params': True,
|
||||||
'params': [
|
'params': [
|
||||||
|
['forward_point', 0, '指定前进点数(会扣除spec_dice数量,0随机)'],
|
||||||
],
|
],
|
||||||
'response': [
|
'response': [
|
||||||
_common.RspHead(),
|
_common.RspHead(),
|
||||||
@ -129,4 +130,18 @@ class AAWheel(object):
|
|||||||
['info', _common.WheelUser(), '用户信息'],
|
['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()], '商品列表'],
|
||||||
|
]
|
||||||
|
},
|
||||||
]
|
]
|
||||||
|
@ -1964,6 +1964,7 @@ class WheelUser(object):
|
|||||||
['score', '', '积分'],
|
['score', '', '积分'],
|
||||||
['hourly_earnings', 0, '每小时收益'],
|
['hourly_earnings', 0, '每小时收益'],
|
||||||
['dice', 0, '骰子数'],
|
['dice', 0, '骰子数'],
|
||||||
|
['spec_dice', 0, '特殊骰子数(道具)'],
|
||||||
]
|
]
|
||||||
|
|
||||||
class WheelAwardItem(object):
|
class WheelAwardItem(object):
|
||||||
@ -2025,3 +2026,11 @@ class WheelGoods(object):
|
|||||||
self.fields = [
|
self.fields = [
|
||||||
['item_id', 0, '道具id'],
|
['item_id', 0, '道具id'],
|
||||||
]
|
]
|
||||||
|
|
||||||
|
class WheelBuff(object):
|
||||||
|
|
||||||
|
def __init__(self):
|
||||||
|
self.fields = [
|
||||||
|
['buff_id', 0, 'buff id'],
|
||||||
|
['duration_time', 0, 'buff持续时间(单位秒)'],
|
||||||
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user