This commit is contained in:
aozhiwei 2024-11-20 12:42:42 +08:00
parent a626e2f7c8
commit a52da5f340
2 changed files with 55 additions and 2 deletions

View File

@ -141,7 +141,57 @@ class AAWheel(object):
],
'response': [
_common.RspHead(),
['!data', [_common.WheelBuff()], '商品列表'],
['!data', [_common.WheelBuff()], 'buff列表'],
]
},
{
'method': 'GET',
'name': '/api/v1/bag/list',
'desc': '背包-道具列表',
'group': '!AAWheel',
'url': 'https://wheel-test.kingsome.cn/api/v1/bag/list',
'headers': _common.JwtHeader,
'params': [
],
'response': [
_common.RspHead(),
['!data', [_common.WheelItem()], '芯片列表'],
]
},
{
'method': 'POST',
'name': '/api/v1/bag/use_item',
'desc': '背包-使用道具',
'group': '!AAWheel',
'url': 'https://wheel-test.kingsome.cn/api/v1/bag/use_item',
'headers': _common.JwtHeader,
'is_json_params': True,
'request_params': [
],
'params': [
['item_uniid', 0, '道具唯一id'],
['item_num', 0, '道具数量'],
],
'response': [
_common.RspHead(),
]
},
{
'method': 'POST',
'name': '/api/v1/gm/exec_cmd',
'desc': 'gm-指向gm指令',
'group': '!AAWheel',
'url': 'https://wheel-test.kingsome.cn/api/v1/gm/exec_cmd',
'headers': _common.JwtHeader,
'is_json_params': True,
'request_params': [
],
'params': [
['cmd', '', '指令及参数']
],
'response': [
_common.RspHead(),
['text', '', '回显文字']
]
},
]

View File

@ -1987,7 +1987,7 @@ class WheelSideEffect(object):
def __init__(self):
self.fields = [
['user_info', WheelUser(), '用户信息变更(用来更新本地客户端字段(有则更新无则不变))'],
['!effects', [''], '变更列表'],
['!effects', [], '变更列表 buff:刷新buff列表 bag:背包'],
]
class WheelFriend(object):
@ -2018,6 +2018,9 @@ class WheelItem(object):
def __init__(self):
self.fields = [
['item_uniid', 0, '背包道具唯一id'],
['item_id', 0, '背包道具配置表id'],
['item_num', 0, '道具数量'],
]
class WheelGoods(object):