文档
测试

getAdminApiList

POST
api.thinker2021.cn

接口描述

获取管理员用户的API列表

请求参数

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

响应参数

参数名
类型
描述
必填
code
int
错误代码(0为成功,其他均为请求失败)
必填
info
string
错误信息
必填
TableDate
array
json数组,API列表数据
必填
ID
int
API的ID
必填
api_name
string
API名称
必填
api_info
string
API备注
必填
api_status
int
API状态,0为缺失,1为正常
必填

说明 / 示例

# Request Example ```json data={ "_username":"zhangsan", "_token":"e10adc3949ba59abbe56e057f20f883e", "_usertype":"admin", "_request":"getAdminApiList" } ``` # Response Example * If the request is successful, you will get response like this: ```json { "code":0, "info":"Success!", "TableData":[{ "ID":"1", "api_name":"getNavigation", "api_info":"获取页面导航栏信息", "api_status":1 },{ "ID":"2", "api_name":"getPage", "api_info":"获取页面信息", "api_status":1 }] } ``` * If your request is illegal, you will get response like this: ```json { "code":1, "info":"Illegal Request!" }