70 lines
1.7 KiB
Python
70 lines
1.7 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
import _common
|
|
|
|
class FriendController(object):
|
|
|
|
def __init__(self):
|
|
self.apis = [
|
|
{
|
|
'desc': 'selectUserInfo',
|
|
'url': 'webapp/index.php?c=FriendController&a=selectUserInfo',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
{
|
|
'desc': 'selectUser',
|
|
'url': 'webapp/index.php?c=FriendController&a=selectUser',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
{
|
|
'desc': 'selectUserByName',
|
|
'url': 'webapp/index.php?c=FriendController&a=selectUserByName',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
{
|
|
'desc': 'createRoleInfo',
|
|
'url': 'webapp/index.php?c=FriendController&a=createRoleInfo',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
{
|
|
'desc': 'changeRoleInfo',
|
|
'url': 'webapp/index.php?c=FriendController&a=changeRoleInfo',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
{
|
|
'desc': 'selRepeatName',
|
|
'url': 'webapp/index.php?c=FriendController&a=selRepeatName',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
]
|