⚡ 删除 http 文件.
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
### 登录 - admin 用户
|
||||
POST {{baseUrl}}/infra/auth/login
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"username": "admin",
|
||||
"password": "21232f297a57a5a743894a0e4a801fc3"
|
||||
}
|
||||
|
||||
|
||||
### 登录
|
||||
POST {{baseUrl}}/infra/auth/login
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"username": "",
|
||||
"password": ""
|
||||
}
|
||||
|
||||
|
||||
### 登出
|
||||
GET {{baseUrl}}/infra/auth/logout
|
||||
Authorization: {{token}}
|
||||
@@ -1,44 +0,0 @@
|
||||
### 创建字典配置项
|
||||
POST {{baseUrl}}/infra/dict-key/create
|
||||
Content-Type: application/json
|
||||
Authorization: {{token}}
|
||||
|
||||
{
|
||||
"keyName": "operatorLogType",
|
||||
"valueType": "1",
|
||||
"extraSchema": "{}",
|
||||
"description": "1"
|
||||
}
|
||||
|
||||
|
||||
### 更新字典配置项
|
||||
PUT {{baseUrl}}/infra/dict-key/update
|
||||
Content-Type: application/json
|
||||
Authorization: {{token}}
|
||||
|
||||
{
|
||||
"id": "",
|
||||
"keyName": "",
|
||||
"valueType": "",
|
||||
"extraSchema": "",
|
||||
"description": ""
|
||||
}
|
||||
|
||||
|
||||
|
||||
### 查询全部字典配置项
|
||||
POST {{baseUrl}}/infra/dict-key/list
|
||||
Authorization: {{token}}
|
||||
|
||||
|
||||
### 删除字典配置项
|
||||
DELETE {{baseUrl}}/infra/dict-key/delete?id=1
|
||||
Authorization: {{token}}
|
||||
|
||||
|
||||
### 批量删除字典配置项
|
||||
DELETE {{baseUrl}}/infra/dict-key/batch-delete?idList=1,2,3
|
||||
Authorization: {{token}}
|
||||
|
||||
|
||||
###
|
||||
@@ -1,63 +0,0 @@
|
||||
### 创建字典配置值
|
||||
POST {{baseUrl}}/infra/dict-value/create
|
||||
Content-Type: application/json
|
||||
Authorization: {{token}}
|
||||
|
||||
{
|
||||
"keyId": "",
|
||||
"key": "",
|
||||
"label": "",
|
||||
"value": "",
|
||||
"description": "",
|
||||
"extra": "",
|
||||
"sort": ""
|
||||
}
|
||||
|
||||
|
||||
### 更新字典配置值
|
||||
PUT {{baseUrl}}/infra/dict-value/update
|
||||
Content-Type: application/json
|
||||
Authorization: {{token}}
|
||||
|
||||
{
|
||||
"id": "",
|
||||
"keyId": "",
|
||||
"key": "",
|
||||
"label": "",
|
||||
"value": "",
|
||||
"description": "",
|
||||
"extra": "",
|
||||
"sort": ""
|
||||
}
|
||||
|
||||
|
||||
### 查询全部字典配置值
|
||||
POST {{baseUrl}}/infra/dict-value/list?key=
|
||||
Authorization: {{token}}
|
||||
|
||||
|
||||
### 分页查询字典配置值
|
||||
POST {{baseUrl}}/infra/dict-value/query
|
||||
Content-Type: application/json
|
||||
Authorization: {{token}}
|
||||
|
||||
{
|
||||
"page": 1,
|
||||
"limit": 10,
|
||||
"keyId": "",
|
||||
"label": "",
|
||||
"value": "",
|
||||
"description": ""
|
||||
}
|
||||
|
||||
|
||||
### 删除字典配置值
|
||||
DELETE {{baseUrl}}/infra/dict-value/delete?id=1
|
||||
Authorization: {{token}}
|
||||
|
||||
|
||||
### 批量删除字典配置值
|
||||
DELETE {{baseUrl}}/infra/dict-value/batch-delete?idList=1,2,3
|
||||
Authorization: {{token}}
|
||||
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
### 获取 cron 下次执行时间
|
||||
POST {{baseUrl}}/infra/expression/cron-next
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"expression": "5 */3 * * * ?",
|
||||
"times": 2
|
||||
}
|
||||
|
||||
|
||||
###
|
||||
@@ -1,23 +0,0 @@
|
||||
### 添加收藏
|
||||
POST {{baseUrl}}/infra/favorite/add
|
||||
Content-Type: application/json
|
||||
Authorization: {{token}}
|
||||
|
||||
{
|
||||
"relId": "",
|
||||
"type": "HOST"
|
||||
}
|
||||
|
||||
|
||||
### 取消收藏
|
||||
GET {{baseUrl}}/infra/favorite/cancel
|
||||
Content-Type: application/json
|
||||
Authorization: {{token}}
|
||||
|
||||
{
|
||||
"relId": "",
|
||||
"type": "HOST"
|
||||
}
|
||||
|
||||
|
||||
###
|
||||
@@ -1,14 +0,0 @@
|
||||
### 分页查询历史归档
|
||||
POST {{baseUrl}}/infra/history-value/query
|
||||
Content-Type: application/json
|
||||
Authorization: {{token}}
|
||||
|
||||
{
|
||||
"page": 1,
|
||||
"limit": 10,
|
||||
"relId": "1",
|
||||
"type": ""
|
||||
}
|
||||
|
||||
|
||||
###
|
||||
@@ -1,48 +0,0 @@
|
||||
### 查询当前用户信息
|
||||
GET {{baseUrl}}/infra/mine/get-user
|
||||
Authorization: {{token}}
|
||||
|
||||
|
||||
### 更新当前用户信息
|
||||
PUT {{baseUrl}}/infra/mine/update-user
|
||||
Content-Type: application/json
|
||||
Authorization: {{token}}
|
||||
|
||||
{
|
||||
"nickname": "名称",
|
||||
"mobile": "15555555555",
|
||||
"email": "123@123.com"
|
||||
}
|
||||
|
||||
|
||||
### 修改当前用户密码
|
||||
PUT {{baseUrl}}/infra/mine/update-password
|
||||
Content-Type: application/json
|
||||
Authorization: {{token}}
|
||||
|
||||
{
|
||||
"beforePassword": "21232f297a57a5a743894a0e4a801fc3",
|
||||
"password": "21232f297a57a5a743894a0e4a801fc3"
|
||||
}
|
||||
|
||||
|
||||
### 查询当前用户登录日志
|
||||
GET {{baseUrl}}/infra/mine/login-history
|
||||
Authorization: {{token}}
|
||||
|
||||
|
||||
### 获取当前用户会话列表
|
||||
GET {{baseUrl}}/infra/mine/user-session
|
||||
Authorization: {{token}}
|
||||
|
||||
|
||||
### 下线当前用户会话
|
||||
PUT {{baseUrl}}/infra/mine/offline-session
|
||||
Content-Type: application/json
|
||||
Authorization: {{token}}
|
||||
|
||||
{
|
||||
"timestamp": 1698774195296
|
||||
}
|
||||
|
||||
###
|
||||
@@ -1,17 +0,0 @@
|
||||
### 分页查询操作日志
|
||||
POST {{baseUrl}}/infra/operator-log/query
|
||||
Content-Type: application/json
|
||||
Authorization: {{token}}
|
||||
|
||||
{
|
||||
"page": 1,
|
||||
"limit": 10,
|
||||
"userId": "",
|
||||
"module": "",
|
||||
"type": "",
|
||||
"result": "",
|
||||
"startTime": "",
|
||||
"endTime": ""
|
||||
}
|
||||
|
||||
###
|
||||
@@ -1,15 +0,0 @@
|
||||
### 初始化角色权限缓存
|
||||
GET {{baseUrl}}/infra/permission/refresh-cache
|
||||
Authorization: {{token}}
|
||||
|
||||
|
||||
### 获取用户菜单
|
||||
GET {{baseUrl}}/infra/permission/menu
|
||||
Authorization: {{token}}
|
||||
|
||||
|
||||
### 获取用户权限
|
||||
GET {{baseUrl}}/infra/permission/permission
|
||||
Authorization: {{token}}
|
||||
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
### 更新用户偏好-全部
|
||||
PUT {{baseUrl}}/infra/preference/update
|
||||
Content-Type: application/json
|
||||
Authorization: {{token}}
|
||||
|
||||
{
|
||||
"type": "SYSTEM",
|
||||
"item": "",
|
||||
"value": ""
|
||||
}
|
||||
|
||||
|
||||
### 更新用户偏好-部分
|
||||
PUT {{baseUrl}}/infra/preference/update-partial
|
||||
Content-Type: application/json
|
||||
Authorization: {{token}}
|
||||
|
||||
{
|
||||
"type": "SYSTEM",
|
||||
"config": {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
### 查询用户偏好
|
||||
GET {{baseUrl}}/infra/preference/get?type=SYSTEM
|
||||
Authorization: {{token}}
|
||||
|
||||
|
||||
### 查询默认偏好
|
||||
GET {{baseUrl}}/infra/preference/get-default?type=TERMINAL&items=shortcutSetting
|
||||
Authorization: {{token}}
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
### 创建菜单
|
||||
POST {{baseUrl}}/infra/system-menu/create
|
||||
Content-Type: application/json
|
||||
Authorization: {{token}}
|
||||
|
||||
{
|
||||
"parentId": "",
|
||||
"name": "",
|
||||
"permission": "",
|
||||
"type": "",
|
||||
"sort": "",
|
||||
"status": "",
|
||||
"cache": "",
|
||||
"icon": "",
|
||||
"path": "",
|
||||
"component": "",
|
||||
"newWindow": ""
|
||||
}
|
||||
|
||||
|
||||
### 通过 id 更新菜单
|
||||
PUT {{baseUrl}}/infra/system-menu/update
|
||||
Content-Type: application/json
|
||||
Authorization: {{token}}
|
||||
|
||||
{
|
||||
"id": "",
|
||||
"parentId": "",
|
||||
"name": "",
|
||||
"permission": "",
|
||||
"type": "",
|
||||
"sort": "",
|
||||
"status": "",
|
||||
"cache": "",
|
||||
"icon": "",
|
||||
"path": "",
|
||||
"component": "",
|
||||
"newWindow": ""
|
||||
}
|
||||
|
||||
|
||||
### 通过 id 查询菜单
|
||||
GET {{baseUrl}}/infra/system-menu/get?id=1
|
||||
Authorization: {{token}}
|
||||
|
||||
|
||||
### 通过 id 批量查询菜单
|
||||
GET {{baseUrl}}/infra/system-menu/list?idList=1,2,3
|
||||
Authorization: {{token}}
|
||||
|
||||
|
||||
### 通过 id 删除菜单
|
||||
DELETE {{baseUrl}}/infra/system-menu/delete?id=1
|
||||
Authorization: {{token}}
|
||||
|
||||
|
||||
###
|
||||
@@ -1,39 +0,0 @@
|
||||
### 查询系统消息列表
|
||||
POST {{baseUrl}}/infra/system-message/list
|
||||
Content-Type: application/json
|
||||
Authorization: {{token}}
|
||||
|
||||
{
|
||||
"limit": 10,
|
||||
"maxId": null,
|
||||
"classify": "NOTICE",
|
||||
"queryCount": true,
|
||||
"queryUnread": true
|
||||
}
|
||||
|
||||
|
||||
### 查询是否有未读消息
|
||||
GET {{baseUrl}}/infra/system-message/has-unread
|
||||
Authorization: {{token}}
|
||||
|
||||
|
||||
### 查询是否有未读消息
|
||||
PUT {{baseUrl}}/infra/system-message/read?id=1
|
||||
Authorization: {{token}}
|
||||
|
||||
|
||||
### 更新全部系统消息为已读
|
||||
PUT {{baseUrl}}/infra/system-message/read-all?classify=NOTICE
|
||||
Authorization: {{token}}
|
||||
|
||||
|
||||
### 删除系统消息
|
||||
DELETE {{baseUrl}}/infra/system-message/delete?id=1
|
||||
Authorization: {{token}}
|
||||
|
||||
|
||||
### 清理已读的系统消息
|
||||
DELETE {{baseUrl}}/infra/system-message/clear?classify=NOTICE
|
||||
Authorization: {{token}}
|
||||
|
||||
###
|
||||
@@ -1,67 +0,0 @@
|
||||
### 创建角色
|
||||
POST {{baseUrl}}/infra/system-role/create
|
||||
Content-Type: application/json
|
||||
Authorization: {{token}}
|
||||
|
||||
{
|
||||
"name": "",
|
||||
"code": "",
|
||||
"status": ""
|
||||
}
|
||||
|
||||
|
||||
### 通过 id 更新角色
|
||||
PUT {{baseUrl}}/infra/system-role/update
|
||||
Content-Type: application/json
|
||||
Authorization: {{token}}
|
||||
|
||||
{
|
||||
"id": "",
|
||||
"name": "",
|
||||
"code": "",
|
||||
"status": ""
|
||||
}
|
||||
|
||||
|
||||
### 通过 id 更新状态
|
||||
PUT {{baseUrl}}/infra/system-role/update-status
|
||||
Content-Type: application/json
|
||||
Authorization: {{token}}
|
||||
|
||||
{
|
||||
"id": "",
|
||||
"status": ""
|
||||
}
|
||||
|
||||
|
||||
### 通过 id 查询角色
|
||||
GET {{baseUrl}}/infra/system-role/get?id=1
|
||||
Authorization: {{token}}
|
||||
|
||||
|
||||
### 通过 id 批量查询角色
|
||||
GET {{baseUrl}}/infra/system-role/list?idList=1,2,3
|
||||
Authorization: {{token}}
|
||||
|
||||
|
||||
### 分页查询角色
|
||||
POST {{baseUrl}}/infra/system-role/query
|
||||
Content-Type: application/json
|
||||
Authorization: {{token}}
|
||||
|
||||
{
|
||||
"page": 1,
|
||||
"limit": 10,
|
||||
"id": "",
|
||||
"name": "",
|
||||
"code": "",
|
||||
"status": ""
|
||||
}
|
||||
|
||||
|
||||
### 通过 id 删除角色
|
||||
DELETE {{baseUrl}}/infra/system-role/delete?id=1
|
||||
Authorization: {{token}}
|
||||
|
||||
|
||||
###
|
||||
@@ -1,4 +0,0 @@
|
||||
### 查询应用信息
|
||||
GET {{baseUrl}}/infra/system-setting/app-info
|
||||
Authorization: {{token}}
|
||||
|
||||
@@ -1,76 +0,0 @@
|
||||
### 创建用户
|
||||
POST {{baseUrl}}/infra/system-user/create
|
||||
Content-Type: application/json
|
||||
Authorization: {{token}}
|
||||
|
||||
{
|
||||
"username": "",
|
||||
"password": "",
|
||||
"nickname": "",
|
||||
"avatar": "",
|
||||
"mobile": "",
|
||||
"email": "",
|
||||
"status": "",
|
||||
"lastLoginTime": ""
|
||||
}
|
||||
|
||||
|
||||
### 通过 id 更新用户
|
||||
PUT {{baseUrl}}/infra/system-user/update
|
||||
Content-Type: application/json
|
||||
Authorization: {{token}}
|
||||
|
||||
{
|
||||
"id": "",
|
||||
"username": "",
|
||||
"password": "",
|
||||
"nickname": "",
|
||||
"avatar": "",
|
||||
"mobile": "",
|
||||
"email": "",
|
||||
"status": "",
|
||||
"lastLoginTime": ""
|
||||
}
|
||||
|
||||
|
||||
### 通过 id 查询用户
|
||||
GET {{baseUrl}}/infra/system-user/get?id=1
|
||||
Authorization: {{token}}
|
||||
|
||||
|
||||
### 通过 id 批量查询用户
|
||||
GET {{baseUrl}}/infra/system-user/list?idList=1,2,3
|
||||
Authorization: {{token}}
|
||||
|
||||
|
||||
### 分页查询用户
|
||||
POST {{baseUrl}}/infra/system-user/query
|
||||
Content-Type: application/json
|
||||
Authorization: {{token}}
|
||||
|
||||
{
|
||||
"page": 1,
|
||||
"limit": 10,
|
||||
"id": "",
|
||||
"username": "123123",
|
||||
"nickname": "123123",
|
||||
"avatar": "",
|
||||
"mobile": "",
|
||||
"email": "",
|
||||
"status": "",
|
||||
"lastLoginTime": ""
|
||||
}
|
||||
|
||||
|
||||
### 通过 id 删除用户
|
||||
DELETE {{baseUrl}}/infra/system-user/delete?id=1
|
||||
Authorization: {{token}}
|
||||
|
||||
|
||||
### 查询登录日志
|
||||
GET {{baseUrl}}/infra/system-user/login-history?username=admin
|
||||
Content-Type: application/json
|
||||
Authorization: {{token}}
|
||||
|
||||
|
||||
###
|
||||
@@ -1,23 +0,0 @@
|
||||
### 创建标签枚举
|
||||
POST {{baseUrl}}/infra/tag/create
|
||||
Content-Type: application/json
|
||||
Authorization: {{token}}
|
||||
|
||||
{
|
||||
"name": "TAG1",
|
||||
"type": "HOST"
|
||||
}
|
||||
|
||||
|
||||
### 查询标签枚举
|
||||
GET {{baseUrl}}/infra/tag/list?type=HOST
|
||||
Content-Type: application/json
|
||||
Authorization: {{token}}
|
||||
|
||||
|
||||
### 通过 id 删除标签枚举
|
||||
DELETE {{baseUrl}}/infra/tag/delete?id=2
|
||||
Authorization: {{token}}
|
||||
|
||||
|
||||
###
|
||||
@@ -1,11 +0,0 @@
|
||||
### 修改为已提示
|
||||
PUT {{baseUrl}}/infra/tips/tipped?key=x
|
||||
Authorization: {{token}}
|
||||
|
||||
|
||||
### 获取所有已提示的 key
|
||||
GET {{baseUrl}}/infra/tips/get
|
||||
Authorization: {{token}}
|
||||
|
||||
|
||||
###
|
||||
Reference in New Issue
Block a user