35 lines
1.0 KiB
Python
35 lines
1.0 KiB
Python
import _common
|
|
|
|
class AALogin(object):
|
|
|
|
def __init__(self):
|
|
self.apis = [
|
|
{
|
|
'name': 'login',
|
|
'desc': '登录',
|
|
'group': '!AALogin',
|
|
'url': 'https://login-test.kingsome.cn/webapp/index.php?c=User&a=login',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
['info',_common.UserInfo(), '用户信息']
|
|
]
|
|
},
|
|
{
|
|
'name': 'nameExists',
|
|
'desc': '名字是否已被用',
|
|
'group': '!AALogin',
|
|
'url': 'https://login-test.kingsome.cn/webapp/index.php?c=User&a=nameExists',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
['name', 0, '名字'],
|
|
['name_sign', '', '名字签名'],
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
]
|