This commit is contained in:
aozhiwei 2021-11-26 19:33:14 +08:00
parent ca8c25860b
commit 3908a36e53
3 changed files with 6 additions and 6 deletions

View File

@ -5,7 +5,7 @@ import _common
class Bag(object):
def __init__(self):
self.apis_ = [
self.apis = [
{
'name': 'itemList',
'desc': '获取背包物品列表',
@ -16,7 +16,7 @@ class Bag(object):
],
'response': [
_common.RspHead(),
['!item_list', _common.Item, '物品列表']
['!item_list', [_common.Item()], '物品列表']
]
},
]

View File

@ -5,7 +5,7 @@ import _common
class Gun(object):
def __init__(self):
self.apis_ = [
self.apis = [
{
'name': 'skinList',
'desc': '获取枪械皮肤列表',
@ -16,7 +16,7 @@ class Gun(object):
],
'response': [
_common.RspHead(),
['!skin_list', _common.GunSkin, '枪械皮肤列表']
['!skin_list', [_common.GunSkin()], '枪械皮肤列表']
]
},
]

View File

@ -16,7 +16,7 @@ class Hero(object):
],
'response': [
_common.RspHead(),
['!hero_list', _common.Hero(), '英雄列表']
['!hero_list', [_common.Hero()], '英雄列表']
]
},
{
@ -29,7 +29,7 @@ class Hero(object):
],
'response': [
_common.RspHead(),
['!skin_list', _common.HeroSkin(), '英雄皮肤列表']
['!skin_list', [_common.HeroSkin()], '英雄皮肤列表']
]
},
{