1
This commit is contained in:
parent
ca8c25860b
commit
3908a36e53
@ -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()], '物品列表']
|
||||
]
|
||||
},
|
||||
]
|
||||
|
@ -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()], '枪械皮肤列表']
|
||||
]
|
||||
},
|
||||
]
|
||||
|
@ -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()], '英雄皮肤列表']
|
||||
]
|
||||
},
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user