1
This commit is contained in:
parent
d25c33c99d
commit
65705b6ded
34
doc/AALogin.py
Normal file
34
doc/AALogin.py
Normal file
@ -0,0 +1,34 @@
|
||||
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(),
|
||||
]
|
||||
},
|
||||
]
|
Loading…
x
Reference in New Issue
Block a user