2024 行
56 KiB
JSON
2024 行
56 KiB
JSON
{
|
||
"swagger": "2.0",
|
||
"info": {
|
||
"title": "监控服务",
|
||
"version": "1.0.0"
|
||
},
|
||
"basePath": "/",
|
||
"paths": {
|
||
"/admin/monitor/approval-logs": {
|
||
"get": {
|
||
"tags": [
|
||
"企微审批日志"
|
||
],
|
||
"summary": "审批日志分页查询",
|
||
"description": "查询企微OA审批流程记录,支持按审批状态(1-审批中/2-已通过/3-已驳回/4-已撤销)、申请人、模板名称筛选\n\n**关联字典**:\n- approval_sp_status:审批状态(列表筛选+显示)",
|
||
"operationId": "listUsingGET",
|
||
"produces": [
|
||
"*/*"
|
||
],
|
||
"parameters": [
|
||
{
|
||
"name": "applyUserName",
|
||
"in": "query",
|
||
"description": "申请人姓名",
|
||
"required": false,
|
||
"type": "string",
|
||
"allowEmptyValue": false
|
||
},
|
||
{
|
||
"name": "endTime",
|
||
"in": "query",
|
||
"description": "结束时间",
|
||
"required": false,
|
||
"type": "string",
|
||
"allowEmptyValue": false
|
||
},
|
||
{
|
||
"name": "page",
|
||
"in": "query",
|
||
"description": "页码",
|
||
"required": false,
|
||
"type": "integer",
|
||
"default": 1,
|
||
"format": "int32",
|
||
"allowEmptyValue": false
|
||
},
|
||
{
|
||
"name": "pageSize",
|
||
"in": "query",
|
||
"description": "每页条数",
|
||
"required": false,
|
||
"type": "integer",
|
||
"default": 20,
|
||
"format": "int32",
|
||
"allowEmptyValue": false
|
||
},
|
||
{
|
||
"name": "spName",
|
||
"in": "query",
|
||
"description": "审批模板名称",
|
||
"required": false,
|
||
"type": "string",
|
||
"allowEmptyValue": false
|
||
},
|
||
{
|
||
"name": "spStatus",
|
||
"in": "query",
|
||
"description": "审批状态",
|
||
"required": false,
|
||
"type": "integer",
|
||
"format": "int32",
|
||
"allowEmptyValue": false
|
||
},
|
||
{
|
||
"name": "startTime",
|
||
"in": "query",
|
||
"description": "开始时间",
|
||
"required": false,
|
||
"type": "string",
|
||
"allowEmptyValue": false
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«分页结果«审批日志»»",
|
||
"originalRef": "统一响应结果«分页结果«审批日志»»"
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"responsesObject": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«分页结果«审批日志»»",
|
||
"originalRef": "统一响应结果«分页结果«审批日志»»"
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"deprecated": false,
|
||
"x-order": "2147483647"
|
||
}
|
||
},
|
||
"/admin/monitor/approval-logs/{id}": {
|
||
"get": {
|
||
"tags": [
|
||
"企微审批日志"
|
||
],
|
||
"summary": "审批日志详情",
|
||
"description": "**关联字典**:\n- approval_sp_status:审批状态(显示)",
|
||
"operationId": "detailUsingGET",
|
||
"produces": [
|
||
"*/*"
|
||
],
|
||
"parameters": [
|
||
{
|
||
"name": "id",
|
||
"in": "path",
|
||
"description": "日志ID",
|
||
"required": false,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«审批日志»",
|
||
"originalRef": "统一响应结果«审批日志»"
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"responsesObject": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«审批日志»",
|
||
"originalRef": "统一响应结果«审批日志»"
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"deprecated": false,
|
||
"x-order": "2147483647"
|
||
}
|
||
},
|
||
"/admin/monitor/data-retention/cleanup": {
|
||
"post": {
|
||
"tags": [
|
||
"数据清理"
|
||
],
|
||
"summary": "手动触发数据清理",
|
||
"description": "仅超级管理员可操作。按数据保留策略清理过期日志(操作日志/错误日志/通知日志等),返回各类型清理的记录数",
|
||
"operationId": "cleanupUsingPOST",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"*/*"
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«Map«string,int»»",
|
||
"originalRef": "统一响应结果«Map«string,int»»"
|
||
}
|
||
},
|
||
"201": {
|
||
"description": "Created"
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"responsesObject": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«Map«string,int»»",
|
||
"originalRef": "统一响应结果«Map«string,int»»"
|
||
}
|
||
},
|
||
"201": {
|
||
"description": "Created"
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"deprecated": false,
|
||
"x-order": "2147483647"
|
||
}
|
||
},
|
||
"/admin/monitor/error-logs": {
|
||
"get": {
|
||
"tags": [
|
||
"错误日志"
|
||
],
|
||
"summary": "错误日志分页查询",
|
||
"description": "查询各微服务的异常记录,支持按服务名称、异常类名、时间范围筛选。堆栈信息仅保留com.hulalv包内的调用帧",
|
||
"operationId": "listUsingGET_1",
|
||
"produces": [
|
||
"*/*"
|
||
],
|
||
"parameters": [
|
||
{
|
||
"name": "endTime",
|
||
"in": "query",
|
||
"description": "结束时间",
|
||
"required": false,
|
||
"type": "string",
|
||
"allowEmptyValue": false
|
||
},
|
||
{
|
||
"name": "exceptionClass",
|
||
"in": "query",
|
||
"description": "异常类名",
|
||
"required": false,
|
||
"type": "string",
|
||
"allowEmptyValue": false
|
||
},
|
||
{
|
||
"name": "page",
|
||
"in": "query",
|
||
"description": "页码",
|
||
"required": false,
|
||
"type": "integer",
|
||
"default": 1,
|
||
"format": "int32",
|
||
"allowEmptyValue": false
|
||
},
|
||
{
|
||
"name": "pageSize",
|
||
"in": "query",
|
||
"description": "每页条数",
|
||
"required": false,
|
||
"type": "integer",
|
||
"default": 20,
|
||
"format": "int32",
|
||
"allowEmptyValue": false
|
||
},
|
||
{
|
||
"name": "serviceName",
|
||
"in": "query",
|
||
"description": "服务名称",
|
||
"required": false,
|
||
"type": "string",
|
||
"allowEmptyValue": false
|
||
},
|
||
{
|
||
"name": "startTime",
|
||
"in": "query",
|
||
"description": "开始时间",
|
||
"required": false,
|
||
"type": "string",
|
||
"allowEmptyValue": false
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«分页结果«错误日志»»",
|
||
"originalRef": "统一响应结果«分页结果«错误日志»»"
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"responsesObject": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«分页结果«错误日志»»",
|
||
"originalRef": "统一响应结果«分页结果«错误日志»»"
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"deprecated": false,
|
||
"x-order": "2147483647"
|
||
}
|
||
},
|
||
"/admin/monitor/error-logs/{id}": {
|
||
"get": {
|
||
"tags": [
|
||
"错误日志"
|
||
],
|
||
"summary": "错误日志详情",
|
||
"description": "返回单条错误日志的完整信息,包含异常类名、错误消息、过滤后的堆栈信息(仅com.hulalv包内调用帧)、请求URL、请求参数等。",
|
||
"operationId": "detailUsingGET_1",
|
||
"produces": [
|
||
"*/*"
|
||
],
|
||
"parameters": [
|
||
{
|
||
"name": "id",
|
||
"in": "path",
|
||
"description": "日志ID",
|
||
"required": false,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«错误日志»",
|
||
"originalRef": "统一响应结果«错误日志»"
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"responsesObject": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«错误日志»",
|
||
"originalRef": "统一响应结果«错误日志»"
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"deprecated": false,
|
||
"x-order": "2147483647"
|
||
}
|
||
},
|
||
"/admin/monitor/login-logs": {
|
||
"get": {
|
||
"tags": [
|
||
"登录日志"
|
||
],
|
||
"summary": "登录日志分页查询",
|
||
"description": "查询管理员登录记录(代理到user-service),包含登录IP、设备信息、登录方式和登录结果\n\n**关联字典**:\n- login_status:登录状态(列表筛选+显示)",
|
||
"operationId": "listUsingGET_2",
|
||
"produces": [
|
||
"*/*"
|
||
],
|
||
"parameters": [
|
||
{
|
||
"name": "adminId",
|
||
"in": "query",
|
||
"description": "管理员ID",
|
||
"required": false,
|
||
"type": "integer",
|
||
"format": "int64",
|
||
"allowEmptyValue": false
|
||
},
|
||
{
|
||
"name": "endTime",
|
||
"in": "query",
|
||
"description": "结束时间",
|
||
"required": false,
|
||
"type": "string",
|
||
"allowEmptyValue": false
|
||
},
|
||
{
|
||
"name": "page",
|
||
"in": "query",
|
||
"description": "页码",
|
||
"required": false,
|
||
"type": "integer",
|
||
"default": 1,
|
||
"format": "int32",
|
||
"allowEmptyValue": false
|
||
},
|
||
{
|
||
"name": "pageSize",
|
||
"in": "query",
|
||
"description": "每页条数",
|
||
"required": false,
|
||
"type": "integer",
|
||
"default": 20,
|
||
"format": "int32",
|
||
"allowEmptyValue": false
|
||
},
|
||
{
|
||
"name": "startTime",
|
||
"in": "query",
|
||
"description": "开始时间",
|
||
"required": false,
|
||
"type": "string",
|
||
"allowEmptyValue": false
|
||
},
|
||
{
|
||
"name": "status",
|
||
"in": "query",
|
||
"description": "状态",
|
||
"required": false,
|
||
"type": "string",
|
||
"allowEmptyValue": false
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«object»",
|
||
"originalRef": "统一响应结果«object»"
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"responsesObject": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«object»",
|
||
"originalRef": "统一响应结果«object»"
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"deprecated": false,
|
||
"x-order": "2147483647"
|
||
}
|
||
},
|
||
"/admin/monitor/mysql": {
|
||
"get": {
|
||
"tags": [
|
||
"MySQL监控"
|
||
],
|
||
"summary": "MySQL实时监控数据",
|
||
"description": "返回MySQL实时状态:连接数、QPS、缓冲池命中率、线程状态、慢查询计数等核心指标",
|
||
"operationId": "overviewUsingGET",
|
||
"produces": [
|
||
"*/*"
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«Map«string,object»»",
|
||
"originalRef": "统一响应结果«Map«string,object»»"
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"responsesObject": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«Map«string,object»»",
|
||
"originalRef": "统一响应结果«Map«string,object»»"
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"deprecated": false,
|
||
"x-order": "2147483647"
|
||
}
|
||
},
|
||
"/admin/monitor/mysql/slow-queries": {
|
||
"get": {
|
||
"tags": [
|
||
"MySQL监控"
|
||
],
|
||
"summary": "慢SQL查询统计",
|
||
"description": "仅超级管理员可操作。查询慢SQL统计信息,返回执行时间最长的SQL语句及其执行次数、平均耗时等",
|
||
"operationId": "slowQueriesUsingGET",
|
||
"produces": [
|
||
"*/*"
|
||
],
|
||
"parameters": [
|
||
{
|
||
"name": "limit",
|
||
"in": "query",
|
||
"description": "返回条数",
|
||
"required": false,
|
||
"type": "integer",
|
||
"default": 20,
|
||
"format": "int32",
|
||
"allowEmptyValue": false
|
||
},
|
||
{
|
||
"name": "type",
|
||
"in": "query",
|
||
"description": "查询类型",
|
||
"required": false,
|
||
"type": "string",
|
||
"allowEmptyValue": false
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«List«Map«string,object»»»",
|
||
"originalRef": "统一响应结果«List«Map«string,object»»»"
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"responsesObject": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«List«Map«string,object»»»",
|
||
"originalRef": "统一响应结果«List«Map«string,object»»»"
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"deprecated": false,
|
||
"x-order": "2147483647"
|
||
}
|
||
},
|
||
"/admin/monitor/mysql/tables": {
|
||
"get": {
|
||
"tags": [
|
||
"MySQL监控"
|
||
],
|
||
"summary": "表空间列表",
|
||
"description": "查询各数据库表的空间占用情况,包含数据大小、索引大小、行数等信息。可指定schema筛选,仅允许查询hl_前缀的数据库",
|
||
"operationId": "tablesUsingGET",
|
||
"produces": [
|
||
"*/*"
|
||
],
|
||
"parameters": [
|
||
{
|
||
"name": "schema",
|
||
"in": "query",
|
||
"description": "数据库名",
|
||
"required": false,
|
||
"type": "string",
|
||
"allowEmptyValue": false
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«List«Map«string,object»»»",
|
||
"originalRef": "统一响应结果«List«Map«string,object»»»"
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"responsesObject": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«List«Map«string,object»»»",
|
||
"originalRef": "统一响应结果«List«Map«string,object»»»"
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"deprecated": false,
|
||
"x-order": "2147483647"
|
||
}
|
||
},
|
||
"/admin/monitor/notification-logs": {
|
||
"get": {
|
||
"tags": [
|
||
"消息通知日志"
|
||
],
|
||
"summary": "消息通知日志分页查询",
|
||
"description": "查询各渠道(短信/站内信/企微/公众号)的通知发送记录,支持按通知类型、用户、发送状态筛选\n\n**关联字典**:\n- notification_send_status:发送状态(列表筛选+显示,0=待发送/1=成功/2=失败)",
|
||
"operationId": "listUsingGET_3",
|
||
"produces": [
|
||
"*/*"
|
||
],
|
||
"parameters": [
|
||
{
|
||
"name": "endTime",
|
||
"in": "query",
|
||
"description": "结束时间",
|
||
"required": false,
|
||
"type": "string",
|
||
"allowEmptyValue": false
|
||
},
|
||
{
|
||
"name": "notificationType",
|
||
"in": "query",
|
||
"description": "通知类型",
|
||
"required": false,
|
||
"type": "string",
|
||
"allowEmptyValue": false
|
||
},
|
||
{
|
||
"name": "page",
|
||
"in": "query",
|
||
"description": "页码",
|
||
"required": false,
|
||
"type": "integer",
|
||
"default": 1,
|
||
"format": "int32",
|
||
"allowEmptyValue": false
|
||
},
|
||
{
|
||
"name": "pageSize",
|
||
"in": "query",
|
||
"description": "每页条数",
|
||
"required": false,
|
||
"type": "integer",
|
||
"default": 20,
|
||
"format": "int32",
|
||
"allowEmptyValue": false
|
||
},
|
||
{
|
||
"name": "sendStatus",
|
||
"in": "query",
|
||
"description": "发送状态",
|
||
"required": false,
|
||
"type": "integer",
|
||
"format": "int32",
|
||
"allowEmptyValue": false
|
||
},
|
||
{
|
||
"name": "startTime",
|
||
"in": "query",
|
||
"description": "开始时间",
|
||
"required": false,
|
||
"type": "string",
|
||
"allowEmptyValue": false
|
||
},
|
||
{
|
||
"name": "userName",
|
||
"in": "query",
|
||
"description": "用户名",
|
||
"required": false,
|
||
"type": "string",
|
||
"allowEmptyValue": false
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«分页结果«通知日志»»",
|
||
"originalRef": "统一响应结果«分页结果«通知日志»»"
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"responsesObject": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«分页结果«通知日志»»",
|
||
"originalRef": "统一响应结果«分页结果«通知日志»»"
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"deprecated": false,
|
||
"x-order": "2147483647"
|
||
}
|
||
},
|
||
"/admin/monitor/notification-logs/{id}": {
|
||
"get": {
|
||
"tags": [
|
||
"消息通知日志"
|
||
],
|
||
"summary": "消息通知日志详情",
|
||
"description": "返回单条通知发送日志的完整信息,包含通知类型、接收用户、发送渠道、发送状态、失败原因(如有)、消息内容等。",
|
||
"operationId": "detailUsingGET_2",
|
||
"produces": [
|
||
"*/*"
|
||
],
|
||
"parameters": [
|
||
{
|
||
"name": "id",
|
||
"in": "path",
|
||
"description": "日志ID",
|
||
"required": false,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«通知日志»",
|
||
"originalRef": "统一响应结果«通知日志»"
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"responsesObject": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«通知日志»",
|
||
"originalRef": "统一响应结果«通知日志»"
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"deprecated": false,
|
||
"x-order": "2147483647"
|
||
}
|
||
},
|
||
"/admin/monitor/operation-logs": {
|
||
"get": {
|
||
"tags": [
|
||
"操作日志"
|
||
],
|
||
"summary": "操作日志分页查询",
|
||
"description": "查询管理员的操作记录,支持按模块、管理员、状态、时间范围筛选。记录包含请求参数、响应结果和耗时信息\n\n**关联字典**:\n- operation_log_status:操作状态(列表筛选+显示,0=成功/1=失败)",
|
||
"operationId": "listUsingGET_4",
|
||
"produces": [
|
||
"*/*"
|
||
],
|
||
"parameters": [
|
||
{
|
||
"name": "adminId",
|
||
"in": "query",
|
||
"description": "管理员ID",
|
||
"required": false,
|
||
"type": "integer",
|
||
"format": "int64",
|
||
"allowEmptyValue": false
|
||
},
|
||
{
|
||
"name": "endTime",
|
||
"in": "query",
|
||
"description": "结束时间",
|
||
"required": false,
|
||
"type": "string",
|
||
"allowEmptyValue": false
|
||
},
|
||
{
|
||
"name": "module",
|
||
"in": "query",
|
||
"description": "模块名称",
|
||
"required": false,
|
||
"type": "string",
|
||
"allowEmptyValue": false
|
||
},
|
||
{
|
||
"name": "page",
|
||
"in": "query",
|
||
"description": "页码",
|
||
"required": false,
|
||
"type": "integer",
|
||
"default": 1,
|
||
"format": "int32",
|
||
"allowEmptyValue": false
|
||
},
|
||
{
|
||
"name": "pageSize",
|
||
"in": "query",
|
||
"description": "每页条数",
|
||
"required": false,
|
||
"type": "integer",
|
||
"default": 20,
|
||
"format": "int32",
|
||
"allowEmptyValue": false
|
||
},
|
||
{
|
||
"name": "startTime",
|
||
"in": "query",
|
||
"description": "开始时间",
|
||
"required": false,
|
||
"type": "string",
|
||
"allowEmptyValue": false
|
||
},
|
||
{
|
||
"name": "status",
|
||
"in": "query",
|
||
"description": "状态",
|
||
"required": false,
|
||
"type": "integer",
|
||
"format": "int32",
|
||
"allowEmptyValue": false
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«分页结果«操作日志»»",
|
||
"originalRef": "统一响应结果«分页结果«操作日志»»"
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"responsesObject": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«分页结果«操作日志»»",
|
||
"originalRef": "统一响应结果«分页结果«操作日志»»"
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"deprecated": false,
|
||
"x-order": "2147483647"
|
||
}
|
||
},
|
||
"/admin/monitor/operation-logs/{id}": {
|
||
"get": {
|
||
"tags": [
|
||
"操作日志"
|
||
],
|
||
"summary": "操作日志详情",
|
||
"description": "返回单条操作日志的完整信息,包含操作模块、操作描述、请求参数、响应结果、操作耗时、操作人信息、IP地址等。",
|
||
"operationId": "detailUsingGET_3",
|
||
"produces": [
|
||
"*/*"
|
||
],
|
||
"parameters": [
|
||
{
|
||
"name": "id",
|
||
"in": "path",
|
||
"description": "日志ID",
|
||
"required": false,
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«操作日志»",
|
||
"originalRef": "统一响应结果«操作日志»"
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"responsesObject": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«操作日志»",
|
||
"originalRef": "统一响应结果«操作日志»"
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"deprecated": false,
|
||
"x-order": "2147483647"
|
||
}
|
||
},
|
||
"/admin/monitor/redis": {
|
||
"get": {
|
||
"tags": [
|
||
"Redis监控"
|
||
],
|
||
"summary": "Redis实时监控数据",
|
||
"description": "返回Redis实时状态:内存使用量、连接数、Key数量、命中率、每秒命令数等核心指标",
|
||
"operationId": "overviewUsingGET_1",
|
||
"produces": [
|
||
"*/*"
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«Map«string,object»»",
|
||
"originalRef": "统一响应结果«Map«string,object»»"
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"responsesObject": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«Map«string,object»»",
|
||
"originalRef": "统一响应结果«Map«string,object»»"
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"deprecated": false,
|
||
"x-order": "2147483647"
|
||
}
|
||
},
|
||
"/admin/monitor/rocketmq": {
|
||
"get": {
|
||
"tags": [
|
||
"RocketMQ监控"
|
||
],
|
||
"summary": "RocketMQ概览",
|
||
"description": "返回RocketMQ集群状态:Broker状态、Topic数量、消息积压量、生产者/消费者连接数等核心指标",
|
||
"operationId": "overviewUsingGET_2",
|
||
"produces": [
|
||
"*/*"
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«Map«string,object»»",
|
||
"originalRef": "统一响应结果«Map«string,object»»"
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"responsesObject": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«Map«string,object»»",
|
||
"originalRef": "统一响应结果«Map«string,object»»"
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"deprecated": false,
|
||
"x-order": "2147483647"
|
||
}
|
||
},
|
||
"/admin/monitor/rocketmq/consumer-groups": {
|
||
"get": {
|
||
"tags": [
|
||
"RocketMQ监控"
|
||
],
|
||
"summary": "消费者组统计",
|
||
"description": "返回各消费者组的消费进度、积压量和在线消费者实例信息",
|
||
"operationId": "consumerGroupStatsUsingGET",
|
||
"produces": [
|
||
"*/*"
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«List«Map«string,object»»»",
|
||
"originalRef": "统一响应结果«List«Map«string,object»»»"
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"responsesObject": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«List«Map«string,object»»»",
|
||
"originalRef": "统一响应结果«List«Map«string,object»»»"
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"deprecated": false,
|
||
"x-order": "2147483647"
|
||
}
|
||
},
|
||
"/admin/monitor/rocketmq/topics": {
|
||
"get": {
|
||
"tags": [
|
||
"RocketMQ监控"
|
||
],
|
||
"summary": "Topic统计",
|
||
"description": "返回各Topic的消息量、最新偏移量和消费进度等信息",
|
||
"operationId": "topicStatsUsingGET",
|
||
"produces": [
|
||
"*/*"
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«List«Map«string,object»»»",
|
||
"originalRef": "统一响应结果«List«Map«string,object»»»"
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"responsesObject": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«List«Map«string,object»»»",
|
||
"originalRef": "统一响应结果«List«Map«string,object»»»"
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"deprecated": false,
|
||
"x-order": "2147483647"
|
||
}
|
||
},
|
||
"/admin/monitor/services": {
|
||
"get": {
|
||
"tags": [
|
||
"服务监控"
|
||
],
|
||
"summary": "微服务列表和健康状态",
|
||
"description": "从Nacos注册中心获取所有微服务的实例列表和健康状态,包含IP、端口、注册时间和健康检查结果",
|
||
"operationId": "listUsingGET_5",
|
||
"produces": [
|
||
"*/*"
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«List«Map«string,object»»»",
|
||
"originalRef": "统一响应结果«List«Map«string,object»»»"
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"responsesObject": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/统一响应结果«List«Map«string,object»»»",
|
||
"originalRef": "统一响应结果«List«Map«string,object»»»"
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "Unauthorized"
|
||
},
|
||
"403": {
|
||
"description": "Forbidden"
|
||
},
|
||
"404": {
|
||
"description": "Not Found"
|
||
}
|
||
},
|
||
"deprecated": false,
|
||
"x-order": "2147483647"
|
||
}
|
||
}
|
||
},
|
||
"definitions": {
|
||
"Map«string,int»": {
|
||
"type": "object",
|
||
"title": "Map«string,int»",
|
||
"additionalProperties": {
|
||
"$ref": "#/definitions/Integer",
|
||
"originalRef": "Integer"
|
||
}
|
||
},
|
||
"Map«string,object»": {
|
||
"type": "object",
|
||
"title": "Map«string,object»",
|
||
"additionalProperties": {
|
||
"type": "object"
|
||
}
|
||
},
|
||
"Map«string,object»_1": {
|
||
"type": "object",
|
||
"title": "Map«string,object»_1",
|
||
"additionalProperties": {
|
||
"type": "object"
|
||
}
|
||
},
|
||
"Map«string,object»_2": {
|
||
"type": "object",
|
||
"title": "Map«string,object»_2",
|
||
"additionalProperties": {
|
||
"type": "object"
|
||
}
|
||
},
|
||
"Map«string,object»_3": {
|
||
"type": "object",
|
||
"title": "Map«string,object»_3",
|
||
"additionalProperties": {
|
||
"type": "object"
|
||
}
|
||
},
|
||
"Map«string,object»_4": {
|
||
"type": "object",
|
||
"title": "Map«string,object»_4",
|
||
"additionalProperties": {
|
||
"type": "object"
|
||
}
|
||
},
|
||
"分页结果«审批日志»": {
|
||
"type": "object",
|
||
"properties": {
|
||
"page": {
|
||
"type": "integer",
|
||
"format": "int32",
|
||
"example": 1,
|
||
"description": "当前页码"
|
||
},
|
||
"pageSize": {
|
||
"type": "integer",
|
||
"format": "int32",
|
||
"example": 20,
|
||
"description": "每页条数"
|
||
},
|
||
"records": {
|
||
"type": "array",
|
||
"description": "数据列表",
|
||
"items": {
|
||
"$ref": "#/definitions/审批日志",
|
||
"originalRef": "审批日志"
|
||
}
|
||
},
|
||
"total": {
|
||
"type": "integer",
|
||
"format": "int32",
|
||
"example": 100,
|
||
"description": "总记录数"
|
||
}
|
||
},
|
||
"title": "分页结果«审批日志»"
|
||
},
|
||
"分页结果«操作日志»": {
|
||
"type": "object",
|
||
"properties": {
|
||
"page": {
|
||
"type": "integer",
|
||
"format": "int32",
|
||
"example": 1,
|
||
"description": "当前页码"
|
||
},
|
||
"pageSize": {
|
||
"type": "integer",
|
||
"format": "int32",
|
||
"example": 20,
|
||
"description": "每页条数"
|
||
},
|
||
"records": {
|
||
"type": "array",
|
||
"description": "数据列表",
|
||
"items": {
|
||
"$ref": "#/definitions/操作日志",
|
||
"originalRef": "操作日志"
|
||
}
|
||
},
|
||
"total": {
|
||
"type": "integer",
|
||
"format": "int32",
|
||
"example": 100,
|
||
"description": "总记录数"
|
||
}
|
||
},
|
||
"title": "分页结果«操作日志»"
|
||
},
|
||
"分页结果«通知日志»": {
|
||
"type": "object",
|
||
"properties": {
|
||
"page": {
|
||
"type": "integer",
|
||
"format": "int32",
|
||
"example": 1,
|
||
"description": "当前页码"
|
||
},
|
||
"pageSize": {
|
||
"type": "integer",
|
||
"format": "int32",
|
||
"example": 20,
|
||
"description": "每页条数"
|
||
},
|
||
"records": {
|
||
"type": "array",
|
||
"description": "数据列表",
|
||
"items": {
|
||
"$ref": "#/definitions/通知日志",
|
||
"originalRef": "通知日志"
|
||
}
|
||
},
|
||
"total": {
|
||
"type": "integer",
|
||
"format": "int32",
|
||
"example": 100,
|
||
"description": "总记录数"
|
||
}
|
||
},
|
||
"title": "分页结果«通知日志»"
|
||
},
|
||
"分页结果«错误日志»": {
|
||
"type": "object",
|
||
"properties": {
|
||
"page": {
|
||
"type": "integer",
|
||
"format": "int32",
|
||
"example": 1,
|
||
"description": "当前页码"
|
||
},
|
||
"pageSize": {
|
||
"type": "integer",
|
||
"format": "int32",
|
||
"example": 20,
|
||
"description": "每页条数"
|
||
},
|
||
"records": {
|
||
"type": "array",
|
||
"description": "数据列表",
|
||
"items": {
|
||
"$ref": "#/definitions/错误日志",
|
||
"originalRef": "错误日志"
|
||
}
|
||
},
|
||
"total": {
|
||
"type": "integer",
|
||
"format": "int32",
|
||
"example": 100,
|
||
"description": "总记录数"
|
||
}
|
||
},
|
||
"title": "分页结果«错误日志»"
|
||
},
|
||
"审批日志": {
|
||
"type": "object",
|
||
"properties": {
|
||
"applyData": {
|
||
"type": "string",
|
||
"description": "申请表单数据(JSON)"
|
||
},
|
||
"applyTime": {
|
||
"type": "string",
|
||
"format": "date-time",
|
||
"description": "申请时间"
|
||
},
|
||
"applyUserId": {
|
||
"type": "string",
|
||
"example": "zhangsan",
|
||
"description": "申请人企微UserID"
|
||
},
|
||
"applyUserName": {
|
||
"type": "string",
|
||
"example": "张三",
|
||
"description": "申请人姓名"
|
||
},
|
||
"approvalLogId": {
|
||
"type": "integer",
|
||
"format": "int64",
|
||
"description": "审批日志ID"
|
||
},
|
||
"approvalNodes": {
|
||
"type": "string",
|
||
"description": "审批节点详情(JSON)"
|
||
},
|
||
"createdAt": {
|
||
"type": "string",
|
||
"format": "date-time",
|
||
"description": "创建时间"
|
||
},
|
||
"notifyNodes": {
|
||
"type": "string",
|
||
"description": "抄送节点详情(JSON)"
|
||
},
|
||
"spName": {
|
||
"type": "string",
|
||
"example": "景区上架审批",
|
||
"description": "审批模板名称"
|
||
},
|
||
"spStatus": {
|
||
"type": "integer",
|
||
"format": "int32",
|
||
"example": 2,
|
||
"description": "审批状态: 1-审批中, 2-已通过, 3-已驳回, 4-已撤销, 6-通过后撤销, 7-已删除"
|
||
},
|
||
"templateId": {
|
||
"type": "string",
|
||
"example": "Cxxxxxx",
|
||
"description": "审批模板ID"
|
||
},
|
||
"thirdNo": {
|
||
"type": "string",
|
||
"example": 202603030001,
|
||
"description": "审批编号"
|
||
},
|
||
"updatedAt": {
|
||
"type": "string",
|
||
"format": "date-time",
|
||
"description": "更新时间"
|
||
}
|
||
},
|
||
"title": "审批日志"
|
||
},
|
||
"操作日志": {
|
||
"type": "object",
|
||
"properties": {
|
||
"adminId": {
|
||
"type": "integer",
|
||
"format": "int64",
|
||
"example": 1001,
|
||
"description": "管理员ID"
|
||
},
|
||
"adminName": {
|
||
"type": "string",
|
||
"example": "admin",
|
||
"description": "管理员名称"
|
||
},
|
||
"createdAt": {
|
||
"type": "string",
|
||
"format": "date-time",
|
||
"description": "创建时间"
|
||
},
|
||
"description": {
|
||
"type": "string",
|
||
"example": "新增景区",
|
||
"description": "操作描述"
|
||
},
|
||
"duration": {
|
||
"type": "integer",
|
||
"format": "int32",
|
||
"example": 120,
|
||
"description": "耗时(毫秒)"
|
||
},
|
||
"errorMsg": {
|
||
"type": "string",
|
||
"description": "错误信息"
|
||
},
|
||
"ipAddress": {
|
||
"type": "string",
|
||
"example": "192.168.1.100",
|
||
"description": "IP地址"
|
||
},
|
||
"module": {
|
||
"type": "string",
|
||
"example": "scenic",
|
||
"description": "操作模块"
|
||
},
|
||
"operationLogId": {
|
||
"type": "integer",
|
||
"format": "int64",
|
||
"description": "操作日志ID"
|
||
},
|
||
"requestMethod": {
|
||
"type": "string",
|
||
"example": "POST",
|
||
"description": "请求方法"
|
||
},
|
||
"requestParams": {
|
||
"type": "string",
|
||
"description": "请求参数(JSON)"
|
||
},
|
||
"requestUrl": {
|
||
"type": "string",
|
||
"example": "/admin/scenic/spot",
|
||
"description": "请求URL"
|
||
},
|
||
"responseCode": {
|
||
"type": "integer",
|
||
"format": "int32",
|
||
"example": 200,
|
||
"description": "响应状态码"
|
||
},
|
||
"responseMsg": {
|
||
"type": "string",
|
||
"example": "success",
|
||
"description": "响应消息"
|
||
},
|
||
"serviceName": {
|
||
"type": "string",
|
||
"example": "hl-resource-service",
|
||
"description": "服务名称"
|
||
},
|
||
"status": {
|
||
"type": "integer",
|
||
"format": "int32",
|
||
"example": 0,
|
||
"description": "状态: 0-成功, 1-失败"
|
||
}
|
||
},
|
||
"title": "操作日志"
|
||
},
|
||
"统一响应结果«List«Map«string,object»»»": {
|
||
"type": "object",
|
||
"properties": {
|
||
"code": {
|
||
"type": "integer",
|
||
"format": "int32",
|
||
"example": 200,
|
||
"description": "状态码"
|
||
},
|
||
"data": {
|
||
"type": "array",
|
||
"description": "响应数据",
|
||
"items": {
|
||
"$ref": "#/definitions/Map«string,object»",
|
||
"originalRef": "Map«string,object»"
|
||
}
|
||
},
|
||
"message": {
|
||
"type": "string",
|
||
"example": "成功",
|
||
"description": "响应消息"
|
||
}
|
||
},
|
||
"title": "统一响应结果«List«Map«string,object»»»"
|
||
},
|
||
"统一响应结果«Map«string,int»»": {
|
||
"type": "object",
|
||
"properties": {
|
||
"code": {
|
||
"type": "integer",
|
||
"format": "int32",
|
||
"example": 200,
|
||
"description": "状态码"
|
||
},
|
||
"data": {
|
||
"type": "object",
|
||
"description": "响应数据",
|
||
"additionalProperties": {
|
||
"type": "integer",
|
||
"format": "int32"
|
||
}
|
||
},
|
||
"message": {
|
||
"type": "string",
|
||
"example": "成功",
|
||
"description": "响应消息"
|
||
}
|
||
},
|
||
"title": "统一响应结果«Map«string,int»»"
|
||
},
|
||
"统一响应结果«Map«string,object»»": {
|
||
"type": "object",
|
||
"properties": {
|
||
"code": {
|
||
"type": "integer",
|
||
"format": "int32",
|
||
"example": 200,
|
||
"description": "状态码"
|
||
},
|
||
"data": {
|
||
"type": "object",
|
||
"description": "响应数据"
|
||
},
|
||
"message": {
|
||
"type": "string",
|
||
"example": "成功",
|
||
"description": "响应消息"
|
||
}
|
||
},
|
||
"title": "统一响应结果«Map«string,object»»"
|
||
},
|
||
"统一响应结果«object»": {
|
||
"type": "object",
|
||
"properties": {
|
||
"code": {
|
||
"type": "integer",
|
||
"format": "int32",
|
||
"example": 200,
|
||
"description": "状态码"
|
||
},
|
||
"data": {
|
||
"type": "object",
|
||
"description": "响应数据"
|
||
},
|
||
"message": {
|
||
"type": "string",
|
||
"example": "成功",
|
||
"description": "响应消息"
|
||
}
|
||
},
|
||
"title": "统一响应结果«object»"
|
||
},
|
||
"统一响应结果«分页结果«审批日志»»": {
|
||
"type": "object",
|
||
"properties": {
|
||
"code": {
|
||
"type": "integer",
|
||
"format": "int32",
|
||
"example": 200,
|
||
"description": "状态码"
|
||
},
|
||
"data": {
|
||
"description": "响应数据",
|
||
"$ref": "#/definitions/分页结果«审批日志»",
|
||
"originalRef": "分页结果«审批日志»"
|
||
},
|
||
"message": {
|
||
"type": "string",
|
||
"example": "成功",
|
||
"description": "响应消息"
|
||
}
|
||
},
|
||
"title": "统一响应结果«分页结果«审批日志»»"
|
||
},
|
||
"统一响应结果«分页结果«操作日志»»": {
|
||
"type": "object",
|
||
"properties": {
|
||
"code": {
|
||
"type": "integer",
|
||
"format": "int32",
|
||
"example": 200,
|
||
"description": "状态码"
|
||
},
|
||
"data": {
|
||
"description": "响应数据",
|
||
"$ref": "#/definitions/分页结果«操作日志»",
|
||
"originalRef": "分页结果«操作日志»"
|
||
},
|
||
"message": {
|
||
"type": "string",
|
||
"example": "成功",
|
||
"description": "响应消息"
|
||
}
|
||
},
|
||
"title": "统一响应结果«分页结果«操作日志»»"
|
||
},
|
||
"统一响应结果«分页结果«通知日志»»": {
|
||
"type": "object",
|
||
"properties": {
|
||
"code": {
|
||
"type": "integer",
|
||
"format": "int32",
|
||
"example": 200,
|
||
"description": "状态码"
|
||
},
|
||
"data": {
|
||
"description": "响应数据",
|
||
"$ref": "#/definitions/分页结果«通知日志»",
|
||
"originalRef": "分页结果«通知日志»"
|
||
},
|
||
"message": {
|
||
"type": "string",
|
||
"example": "成功",
|
||
"description": "响应消息"
|
||
}
|
||
},
|
||
"title": "统一响应结果«分页结果«通知日志»»"
|
||
},
|
||
"统一响应结果«分页结果«错误日志»»": {
|
||
"type": "object",
|
||
"properties": {
|
||
"code": {
|
||
"type": "integer",
|
||
"format": "int32",
|
||
"example": 200,
|
||
"description": "状态码"
|
||
},
|
||
"data": {
|
||
"description": "响应数据",
|
||
"$ref": "#/definitions/分页结果«错误日志»",
|
||
"originalRef": "分页结果«错误日志»"
|
||
},
|
||
"message": {
|
||
"type": "string",
|
||
"example": "成功",
|
||
"description": "响应消息"
|
||
}
|
||
},
|
||
"title": "统一响应结果«分页结果«错误日志»»"
|
||
},
|
||
"统一响应结果«审批日志»": {
|
||
"type": "object",
|
||
"properties": {
|
||
"code": {
|
||
"type": "integer",
|
||
"format": "int32",
|
||
"example": 200,
|
||
"description": "状态码"
|
||
},
|
||
"data": {
|
||
"description": "响应数据",
|
||
"$ref": "#/definitions/审批日志",
|
||
"originalRef": "审批日志"
|
||
},
|
||
"message": {
|
||
"type": "string",
|
||
"example": "成功",
|
||
"description": "响应消息"
|
||
}
|
||
},
|
||
"title": "统一响应结果«审批日志»"
|
||
},
|
||
"统一响应结果«操作日志»": {
|
||
"type": "object",
|
||
"properties": {
|
||
"code": {
|
||
"type": "integer",
|
||
"format": "int32",
|
||
"example": 200,
|
||
"description": "状态码"
|
||
},
|
||
"data": {
|
||
"description": "响应数据",
|
||
"$ref": "#/definitions/操作日志",
|
||
"originalRef": "操作日志"
|
||
},
|
||
"message": {
|
||
"type": "string",
|
||
"example": "成功",
|
||
"description": "响应消息"
|
||
}
|
||
},
|
||
"title": "统一响应结果«操作日志»"
|
||
},
|
||
"统一响应结果«通知日志»": {
|
||
"type": "object",
|
||
"properties": {
|
||
"code": {
|
||
"type": "integer",
|
||
"format": "int32",
|
||
"example": 200,
|
||
"description": "状态码"
|
||
},
|
||
"data": {
|
||
"description": "响应数据",
|
||
"$ref": "#/definitions/通知日志",
|
||
"originalRef": "通知日志"
|
||
},
|
||
"message": {
|
||
"type": "string",
|
||
"example": "成功",
|
||
"description": "响应消息"
|
||
}
|
||
},
|
||
"title": "统一响应结果«通知日志»"
|
||
},
|
||
"统一响应结果«错误日志»": {
|
||
"type": "object",
|
||
"properties": {
|
||
"code": {
|
||
"type": "integer",
|
||
"format": "int32",
|
||
"example": 200,
|
||
"description": "状态码"
|
||
},
|
||
"data": {
|
||
"description": "响应数据",
|
||
"$ref": "#/definitions/错误日志",
|
||
"originalRef": "错误日志"
|
||
},
|
||
"message": {
|
||
"type": "string",
|
||
"example": "成功",
|
||
"description": "响应消息"
|
||
}
|
||
},
|
||
"title": "统一响应结果«错误日志»"
|
||
},
|
||
"通知日志": {
|
||
"type": "object",
|
||
"properties": {
|
||
"createdAt": {
|
||
"type": "string",
|
||
"format": "date-time",
|
||
"description": "创建时间"
|
||
},
|
||
"externalUserId": {
|
||
"type": "string",
|
||
"example": "wmXXXX",
|
||
"description": "外部联系人ID"
|
||
},
|
||
"externalUserName": {
|
||
"type": "string",
|
||
"example": "李客户",
|
||
"description": "外部联系人姓名"
|
||
},
|
||
"failReason": {
|
||
"type": "string",
|
||
"description": "失败原因"
|
||
},
|
||
"messageContent": {
|
||
"type": "string",
|
||
"description": "消息内容"
|
||
},
|
||
"notificationLogId": {
|
||
"type": "integer",
|
||
"format": "int64",
|
||
"description": "通知日志ID"
|
||
},
|
||
"notificationType": {
|
||
"type": "string",
|
||
"example": "ADD_EXTERNAL_CONTACT",
|
||
"description": "通知类型: ADD_EXTERNAL_CONTACT/DEL_FOLLOW_USER/DEL_EXTERNAL_CONTACT"
|
||
},
|
||
"sendStatus": {
|
||
"type": "integer",
|
||
"format": "int32",
|
||
"example": 0,
|
||
"description": "发送状态: 0-成功, 1-失败, 2-已过滤"
|
||
},
|
||
"serviceName": {
|
||
"type": "string",
|
||
"example": "hl-callback-service",
|
||
"description": "来源服务名称"
|
||
},
|
||
"userId": {
|
||
"type": "string",
|
||
"example": "zhangsan",
|
||
"description": "员工企微UserID"
|
||
},
|
||
"userName": {
|
||
"type": "string",
|
||
"example": "张三",
|
||
"description": "员工姓名"
|
||
}
|
||
},
|
||
"title": "通知日志"
|
||
},
|
||
"错误日志": {
|
||
"type": "object",
|
||
"properties": {
|
||
"adminId": {
|
||
"type": "integer",
|
||
"format": "int64",
|
||
"example": 1001,
|
||
"description": "管理员ID"
|
||
},
|
||
"createdAt": {
|
||
"type": "string",
|
||
"format": "date-time",
|
||
"description": "创建时间"
|
||
},
|
||
"errorLogId": {
|
||
"type": "integer",
|
||
"format": "int64",
|
||
"description": "错误日志ID"
|
||
},
|
||
"exceptionClass": {
|
||
"type": "string",
|
||
"example": "BusinessException",
|
||
"description": "异常类名"
|
||
},
|
||
"exceptionMessage": {
|
||
"type": "string",
|
||
"example": "资源不存在",
|
||
"description": "异常消息"
|
||
},
|
||
"ipAddress": {
|
||
"type": "string",
|
||
"example": "192.168.1.100",
|
||
"description": "IP地址"
|
||
},
|
||
"requestMethod": {
|
||
"type": "string",
|
||
"example": "GET",
|
||
"description": "请求方法"
|
||
},
|
||
"requestParams": {
|
||
"type": "string",
|
||
"description": "请求参数(JSON)"
|
||
},
|
||
"requestUrl": {
|
||
"type": "string",
|
||
"example": "/admin/user/list",
|
||
"description": "请求URL"
|
||
},
|
||
"serviceName": {
|
||
"type": "string",
|
||
"example": "hl-user-service",
|
||
"description": "服务名称"
|
||
},
|
||
"stackTrace": {
|
||
"type": "string",
|
||
"description": "堆栈跟踪"
|
||
}
|
||
},
|
||
"title": "错误日志"
|
||
}
|
||
}
|
||
} |