文档
测试

getAdminList

POST
api.thinker2021.cn

接口描述

获取管理员用户列表

请求参数

参数名
类型
描述
必填
_username
string
用户名
必填
_token
string
token密钥
必填
_usertype
string
用户类型
必填
_request
string
请求类型,要求必须为getAdminList
必填

响应参数

参数名
类型
描述
必填
code
int
错误代码(0为成功,其他均为请求失败)
必填
info
string
错误信息
必填
TableData
array
json数组,用户列表数据
必填
ID
int
管理员ID
必填
username
string
管理员用户名
必填
password
string
管理员密码(经md5加密)
必填
api_entry
int
管理员权限代码
必填

说明 / 示例

# Request Example ```json data={ "_username":"zhangsan", "_token":"e10adc3949ba59abbe56e057f20f883e", "_usertype":"admin", "_request":"getAdminList" } ``` # Response Example * If the request is successful, you will get response like this: ```json { "code":0, "info":"Success!", "TableData":[{ "ID":"1", "username":"zhangsan", "password":"e10adc3949ba59abbe56e057f20f883e", "api_entry":3 },{ "ID":"2", "username":"lisi", "password":"e10adc3949ba59abbe56e057f20f883e", "api_entry":3 }] } ``` * If your request is illegal, you will get response like this: ```json { "code":1, "info":"Illegal Request!" }