1
This commit is contained in:
parent
d53e9c26ca
commit
c2bf5f0874
@ -5,7 +5,7 @@ import _common
|
|||||||
class Hero(object):
|
class Hero(object):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.apis_ = [
|
self.apis = [
|
||||||
{
|
{
|
||||||
'name': 'heroList',
|
'name': 'heroList',
|
||||||
'desc': '获取英雄列表',
|
'desc': '获取英雄列表',
|
||||||
@ -16,7 +16,7 @@ class Hero(object):
|
|||||||
],
|
],
|
||||||
'response': [
|
'response': [
|
||||||
_common.RspHead(),
|
_common.RspHead(),
|
||||||
['!hero_list', _common.Hero, '英雄列表']
|
['!hero_list', _common.Hero(), '英雄列表']
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -29,7 +29,7 @@ class Hero(object):
|
|||||||
],
|
],
|
||||||
'response': [
|
'response': [
|
||||||
_common.RspHead(),
|
_common.RspHead(),
|
||||||
['!skin_list', _common.HeroSkin, '英雄皮肤列表']
|
['!skin_list', _common.HeroSkin(), '英雄皮肤列表']
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -5,7 +5,7 @@ import _common
|
|||||||
class Shop(object):
|
class Shop(object):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.apis_ = [
|
self.apis = [
|
||||||
{
|
{
|
||||||
'name': 'buyHero',
|
'name': 'buyHero',
|
||||||
'desc': '购买英雄',
|
'desc': '购买英雄',
|
||||||
@ -18,7 +18,7 @@ class Shop(object):
|
|||||||
],
|
],
|
||||||
'response': [
|
'response': [
|
||||||
_common.RspHead(),
|
_common.RspHead(),
|
||||||
['award', _common.Award, '奖励信息'],
|
['award', _common.Award(), '奖励信息'],
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -34,6 +34,7 @@ class Shop(object):
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
'name': 'buyGunSkin',
|
||||||
'desc': '购买枪支皮肤buyGunSkin',
|
'desc': '购买枪支皮肤buyGunSkin',
|
||||||
'group': 'Shop',
|
'group': 'Shop',
|
||||||
'url': 'webapp/index.php?c=Shop&a=buyGunSkin',
|
'url': 'webapp/index.php?c=Shop&a=buyGunSkin',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user