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