This commit is contained in:
aozhiwei 2021-11-25 10:27:20 +08:00
parent 0e63848930
commit c5bc98d7b1
28 changed files with 41 additions and 27 deletions

View File

@ -5,7 +5,7 @@ import _common
class Activity(object): class Activity(object):
def __init__(self): def __init__(self):
self.apis = [ self.apis_ = [
{ {
'desc': 'newLuckDrawInfo', 'desc': 'newLuckDrawInfo',
'group': 'Activity', 'group': 'Activity',

View File

@ -5,7 +5,7 @@ import _common
class Additem(object): class Additem(object):
def __init__(self): def __init__(self):
self.apis = [ self.apis_ = [
{ {
'desc': '添加道具additem', 'desc': '添加道具additem',
'group': 'Additem', 'group': 'Additem',

View File

@ -5,7 +5,7 @@ import _common
class Bag(object): class Bag(object):
def __init__(self): def __init__(self):
self.apis = [ self.apis_ = [
{ {
'desc': 'getBagInfo', 'desc': 'getBagInfo',
'group': 'Bag', 'group': 'Bag',

View File

@ -5,7 +5,7 @@ import _common
class Equip(object): class Equip(object):
def __init__(self): def __init__(self):
self.apis = [ self.apis_ = [
{ {
'desc': 'equipInfo', 'desc': 'equipInfo',
'group': 'Equip', 'group': 'Equip',

View File

@ -5,7 +5,7 @@ import _common
class FesActivity(object): class FesActivity(object):
def __init__(self): def __init__(self):
self.apis = [ self.apis_ = [
{ {
'desc': 'acitivityInfo', 'desc': 'acitivityInfo',
'group': 'FesActivity', 'group': 'FesActivity',

View File

@ -5,7 +5,7 @@ import _common
class Friend(object): class Friend(object):
def __init__(self): def __init__(self):
self.apis = [ self.apis_ = [
{ {
'desc': 'selectUserInfo', 'desc': 'selectUserInfo',
'group': 'Friend', 'group': 'Friend',

View File

@ -5,7 +5,7 @@ import _common
class GM(object): class GM(object):
def __init__(self): def __init__(self):
self.apis = [ self.apis_ = [
{ {
'desc': 'clearDB', 'desc': 'clearDB',
'group': 'GM', 'group': 'GM',

View File

@ -5,7 +5,7 @@ import _common
class GameOver(object): class GameOver(object):
def __init__(self): def __init__(self):
self.apis = [ self.apis_ = [
{ {
'desc': '首战奖励信息firstRewardInfo', 'desc': '首战奖励信息firstRewardInfo',
'group': 'GameOver', 'group': 'GameOver',

View File

@ -5,7 +5,7 @@ import _common
class Gun(object): class Gun(object):
def __init__(self): def __init__(self):
self.apis = [ self.apis_ = [
{ {
'desc': '获取枪支信息-getGunInfo', 'desc': '获取枪支信息-getGunInfo',
'group': 'Gun', 'group': 'Gun',

View File

@ -5,7 +5,7 @@ import _common
class Hang(object): class Hang(object):
def __init__(self): def __init__(self):
self.apis = [ self.apis_ = [
{ {
'desc': 'getTime', 'desc': 'getTime',
'group': 'Hang', 'group': 'Hang',

View File

@ -5,7 +5,7 @@ import _common
class Hero(object): class Hero(object):
def __init__(self): def __init__(self):
self.apis = [ self.apis_ = [
{ {
'desc': 'addItemToDB', 'desc': 'addItemToDB',
'group': 'NHero', 'group': 'NHero',

View File

@ -5,7 +5,7 @@ import _common
class NRR(object): class NRR(object):
def __init__(self): def __init__(self):
self.apis = [ self.apis_ = [
{ {
'desc': 'ResetRRVIP', 'desc': 'ResetRRVIP',
'group': 'NRR', 'group': 'NRR',

View File

@ -5,7 +5,7 @@ import _common
class NShop(object): class NShop(object):
def __init__(self): def __init__(self):
self.apis = [ self.apis_ = [
{ {
'desc': 'getShopData', 'desc': 'getShopData',
'group': 'NShop', 'group': 'NShop',

View File

@ -5,7 +5,7 @@ import _common
class NTask(object): class NTask(object):
def __init__(self): def __init__(self):
self.apis = [ self.apis_ = [
{ {
'desc': 'getRewardState', 'desc': 'getRewardState',
'group': 'NTask', 'group': 'NTask',

View File

@ -5,7 +5,7 @@ import _common
class NewPayActivity(object): class NewPayActivity(object):
def __init__(self): def __init__(self):
self.apis = [ self.apis_ = [
{ {
'desc': 'handlePre', 'desc': 'handlePre',
'group': 'NewPayActivity', 'group': 'NewPayActivity',

View File

@ -5,7 +5,7 @@ import _common
class Pass(object): class Pass(object):
def __init__(self): def __init__(self):
self.apis = [ self.apis_ = [
{ {
'desc': 'getPassInfo', 'desc': 'getPassInfo',
'group': 'Pass', 'group': 'Pass',

View File

@ -5,7 +5,7 @@ import _common
class Pay(object): class Pay(object):
def __init__(self): def __init__(self):
self.apis = [ self.apis_ = [
{ {
'desc': 'getPayInfo', 'desc': 'getPayInfo',
'group': 'Pay', 'group': 'Pay',

View File

@ -5,7 +5,7 @@ import _common
class PayActivity(object): class PayActivity(object):
def __init__(self): def __init__(self):
self.apis = [ self.apis_ = [
{ {
'desc': 'getExplode', 'desc': 'getExplode',
'group': 'PayActivity', 'group': 'PayActivity',

View File

@ -5,7 +5,7 @@ import _common
class PayNotify(object): class PayNotify(object):
def __init__(self): def __init__(self):
self.apis = [ self.apis_ = [
{ {
'desc': 'payNotify', 'desc': 'payNotify',
'group': 'PayNotify', 'group': 'PayNotify',

View File

@ -5,7 +5,7 @@ import _common
class Quest(object): class Quest(object):
def __init__(self): def __init__(self):
self.apis = [ self.apis_ = [
{ {
'desc': 'questInfo', 'desc': 'questInfo',
'group': 'Quest', 'group': 'Quest',

View File

@ -5,7 +5,7 @@ import _common
class Rank(object): class Rank(object):
def __init__(self): def __init__(self):
self.apis = [ self.apis_ = [
{ {
'desc': 'rankInfo', 'desc': 'rankInfo',
'group': 'Rank', 'group': 'Rank',

View File

@ -18,6 +18,20 @@ class Role(object):
_common.RoleInfo(), _common.RoleInfo(),
] ]
}, },
]
self.apis_ = [
{
'desc': '获取角色信息roleInfo',
'group': 'Role',
'url': 'webapp/index.php?c=Role&a=roleInfo',
'params': [
_common.ReqHead(),
],
'response': [
_common.RspHead(),
_common.RoleInfo(),
]
},
{ {
'desc': '客户端战报clientBattleReport', 'desc': '客户端战报clientBattleReport',
'group': 'Role', 'group': 'Role',

View File

@ -5,7 +5,7 @@ import _common
class ServerSwitch(object): class ServerSwitch(object):
def __init__(self): def __init__(self):
self.apis = [ self.apis_ = [
{ {
'desc': 'getSwitch', 'desc': 'getSwitch',
'group': 'ServerSwitch', 'group': 'ServerSwitch',

View File

@ -5,7 +5,7 @@ import _common
class Share(object): class Share(object):
def __init__(self): def __init__(self):
self.apis = [ self.apis_ = [
{ {
'desc': 'beeReward', 'desc': 'beeReward',
'group': 'Share', 'group': 'Share',

View File

@ -5,7 +5,7 @@ import _common
class Shop(object): class Shop(object):
def __init__(self): def __init__(self):
self.apis = [ self.apis_ = [
{ {
'desc': 'newShopInfo', 'desc': 'newShopInfo',
'group': 'Shop', 'group': 'Shop',

View File

@ -5,7 +5,7 @@ import _common
class Sign(object): class Sign(object):
def __init__(self): def __init__(self):
self.apis = [ self.apis_ = [
{ {
'desc': 'signInfo', 'desc': 'signInfo',
'group': 'Sign', 'group': 'Sign',

View File

@ -5,7 +5,7 @@ import _common
class Team(object): class Team(object):
def __init__(self): def __init__(self):
self.apis = [ self.apis_ = [
{ {
'desc': 'createTeam', 'desc': 'createTeam',
'group': 'Team', 'group': 'Team',

View File

@ -5,7 +5,7 @@ import _common
class Voice(object): class Voice(object):
def __init__(self): def __init__(self):
self.apis = [ self.apis_ = [
{ {
'desc': 'upload', 'desc': 'upload',
'group': 'Voice', 'group': 'Voice',