game2006api/doc/AALogin.py
aozhiwei 65705b6ded 1
2024-05-14 17:15:40 +08:00

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(),
]
},
]