60 lines
1.5 KiB
Python
60 lines
1.5 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
import _common
|
|
|
|
class NPlayerInfoController(object):
|
|
|
|
def __init__(self):
|
|
self.apis = [
|
|
{
|
|
'desc': 'sendGMFToClient',
|
|
'url': 'webapp/index.php?c=NPlayerInfoController&a=sendGMFToClient',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
{
|
|
'desc': 'addGiveMeFive',
|
|
'url': 'webapp/index.php?c=NPlayerInfoController&a=addGiveMeFive',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
{
|
|
'desc': 'getPlayerInfo',
|
|
'url': 'webapp/index.php?c=NPlayerInfoController&a=getPlayerInfo',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
{
|
|
'desc': 'changeHIFrameHero',
|
|
'url': 'webapp/index.php?c=NPlayerInfoController&a=changeHIFrameHero',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
{
|
|
'desc': 'changeName',
|
|
'url': 'webapp/index.php?c=NPlayerInfoController&a=changeName',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
]
|