mirror of
https://gitee.com/xiangheng/x_admin.git
synced 2025-09-26 20:21:19 +08:00
4475 lines
157 KiB
Go
4475 lines
157 KiB
Go
// Package docs Code generated by swaggo/swag. DO NOT EDIT
|
||
package docs
|
||
|
||
import "github.com/swaggo/swag"
|
||
|
||
const docTemplate = `{
|
||
"schemes": {{ marshal .Schemes }},
|
||
"swagger": "2.0",
|
||
"info": {
|
||
"description": "{{escape .Description}}",
|
||
"title": "{{.Title}}",
|
||
"termsOfService": "http://x.adtk.cn",
|
||
"contact": {
|
||
"name": "API Support",
|
||
"url": "http://x.adtk.cn",
|
||
"email": "11675084@qq.com"
|
||
},
|
||
"license": {
|
||
"name": "MIT License",
|
||
"url": "https://gitee.com/xiangheng/x_admin/blob/main/LICENSE"
|
||
},
|
||
"version": "{{.Version}}"
|
||
},
|
||
"host": "{{.Host}}",
|
||
"basePath": "{{.BasePath}}",
|
||
"paths": {
|
||
"/api/admin/flow/flow_apply/add": {
|
||
"post": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"flow_apply-申请流程"
|
||
],
|
||
"summary": "申请流程新增",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "模板",
|
||
"name": "templateId",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
{
|
||
"description": "申请人id",
|
||
"name": "applyUserId",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
{
|
||
"description": "申请人昵称",
|
||
"name": "applyUserNickname",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "流程名称",
|
||
"name": "flowName",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "流程分类",
|
||
"name": "flowGroup",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
{
|
||
"description": "流程描述",
|
||
"name": "flowRemark",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "表单配置",
|
||
"name": "flowFormData",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "流程配置",
|
||
"name": "flowProcessData",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "状态:1待提交,2审批中,3审批完成,4审批失败",
|
||
"name": "status",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/response.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/flow/flow_apply/back": {
|
||
"post": {
|
||
"tags": [
|
||
"flow_history-流程历史"
|
||
],
|
||
"responses": {}
|
||
}
|
||
},
|
||
"/api/admin/flow/flow_apply/del": {
|
||
"post": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"flow_apply-申请流程"
|
||
],
|
||
"summary": "申请流程删除",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "申请id",
|
||
"name": "id",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/response.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/flow/flow_apply/detail": {
|
||
"get": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"flow_apply-申请流程"
|
||
],
|
||
"summary": "申请流程详情",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "申请id",
|
||
"name": "id",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/response.Response"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
"data": {
|
||
"$ref": "#/definitions/flow_apply.FlowApplyResp"
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/flow/flow_apply/edit": {
|
||
"post": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"flow_apply-申请流程"
|
||
],
|
||
"summary": "申请流程编辑",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "申请id",
|
||
"name": "id",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
{
|
||
"description": "模板",
|
||
"name": "templateId",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
{
|
||
"description": "申请人id",
|
||
"name": "applyUserId",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
{
|
||
"description": "申请人昵称",
|
||
"name": "applyUserNickname",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "流程名称",
|
||
"name": "flowName",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "流程分类",
|
||
"name": "flowGroup",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
{
|
||
"description": "流程描述",
|
||
"name": "flowRemark",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "表单配置",
|
||
"name": "flowFormData",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "流程配置",
|
||
"name": "flowProcessData",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "状态:1待提交,2审批中,3审批完成,4审批失败",
|
||
"name": "status",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/response.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/flow/flow_apply/list": {
|
||
"get": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"flow_apply-申请流程"
|
||
],
|
||
"summary": "申请流程列表",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "页码",
|
||
"name": "PageNo",
|
||
"in": "query",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "每页数量",
|
||
"name": "PageSize",
|
||
"in": "query",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "模板",
|
||
"name": "templateId",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "申请人id",
|
||
"name": "applyUserId",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "申请人昵称",
|
||
"name": "applyUserNickname",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "流程名称",
|
||
"name": "flowName",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "流程分类",
|
||
"name": "flowGroup",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "流程描述",
|
||
"name": "flowRemark",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "表单配置",
|
||
"name": "flowFormData",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "流程配置",
|
||
"name": "flowProcessData",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "状态:1待提交,2审批中,3审批完成,4审批失败",
|
||
"name": "status",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/response.Response"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
"data": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/response.PageResp"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
"lists": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/flow_apply.FlowApplyResp"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/flow/flow_apply/pass": {
|
||
"post": {
|
||
"tags": [
|
||
"flow_history-流程历史"
|
||
],
|
||
"responses": {}
|
||
}
|
||
},
|
||
"/api/admin/flow/flow_history/add": {
|
||
"post": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"flow_history-流程历史"
|
||
],
|
||
"summary": "流程历史新增",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "申请id",
|
||
"name": "applyId",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
{
|
||
"description": "模板id",
|
||
"name": "templateId",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
{
|
||
"description": "申请人id",
|
||
"name": "applyUserId",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
{
|
||
"description": "申请人昵称",
|
||
"name": "applyUserNickname",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "审批人id",
|
||
"name": "approverId",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
{
|
||
"description": "审批用户昵称",
|
||
"name": "approverNickname",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "节点",
|
||
"name": "nodeId",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "表单值",
|
||
"name": "formValue",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "通过状态:0待处理,1通过,2拒绝",
|
||
"name": "passStatus",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
{
|
||
"description": "通过备注",
|
||
"name": "passRemark",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/response.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/flow/flow_history/del": {
|
||
"post": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"flow_history-流程历史"
|
||
],
|
||
"summary": "流程历史删除",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "历史id",
|
||
"name": "id",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/response.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/flow/flow_history/detail": {
|
||
"get": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"flow_history-流程历史"
|
||
],
|
||
"summary": "流程历史详情",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "历史id",
|
||
"name": "id",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/response.Response"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
"data": {
|
||
"$ref": "#/definitions/flow_history.FlowHistoryResp"
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/flow/flow_history/edit": {
|
||
"post": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"flow_history-流程历史"
|
||
],
|
||
"summary": "流程历史编辑",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "历史id",
|
||
"name": "id",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
{
|
||
"description": "申请id",
|
||
"name": "applyId",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
{
|
||
"description": "模板id",
|
||
"name": "templateId",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
{
|
||
"description": "申请人id",
|
||
"name": "applyUserId",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
{
|
||
"description": "申请人昵称",
|
||
"name": "applyUserNickname",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "审批人id",
|
||
"name": "approverId",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
{
|
||
"description": "审批用户昵称",
|
||
"name": "approverNickname",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "节点",
|
||
"name": "nodeId",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "表单值",
|
||
"name": "formValue",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "通过状态:0待处理,1通过,2拒绝",
|
||
"name": "passStatus",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
{
|
||
"description": "通过备注",
|
||
"name": "passRemark",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/response.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/flow/flow_history/list": {
|
||
"get": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"flow_history-流程历史"
|
||
],
|
||
"summary": "流程历史列表",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "页码",
|
||
"name": "PageNo",
|
||
"in": "query",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "每页数量",
|
||
"name": "PageSize",
|
||
"in": "query",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "申请id",
|
||
"name": "applyId",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "模板id",
|
||
"name": "templateId",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "申请人id",
|
||
"name": "applyUserId",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "申请人昵称",
|
||
"name": "applyUserNickname",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "审批人id",
|
||
"name": "approverId",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "审批用户昵称",
|
||
"name": "approverNickname",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "节点",
|
||
"name": "nodeId",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "表单值",
|
||
"name": "formValue",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "通过状态:0待处理,1通过,2拒绝",
|
||
"name": "passStatus",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "通过备注",
|
||
"name": "passRemark",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/response.Response"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
"data": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/response.PageResp"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
"lists": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/flow_history.FlowHistoryResp"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/flow/flow_history/listAll": {
|
||
"get": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"flow_history-流程历史"
|
||
],
|
||
"summary": "流程历史列表-所有",
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/response.Response"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
"data": {
|
||
"$ref": "#/definitions/flow_history.FlowHistoryResp"
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/flow/flow_template/add": {
|
||
"post": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"flow_template-流程模板"
|
||
],
|
||
"summary": "流程模板新增",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "流程名称",
|
||
"name": "flowName",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "流程分类",
|
||
"name": "flowGroup",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
{
|
||
"description": "流程描述",
|
||
"name": "flowRemark",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "表单配置",
|
||
"name": "flowFormData",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "流程配置",
|
||
"name": "flowProcessData",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/response.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/flow/flow_template/del": {
|
||
"post": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"flow_template-流程模板"
|
||
],
|
||
"summary": "流程模板删除",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "历史id",
|
||
"name": "id",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/response.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/flow/flow_template/detail": {
|
||
"get": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"flow_template-流程模板"
|
||
],
|
||
"summary": "流程模板详情",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "历史id",
|
||
"name": "id",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/flow_template.FlowTemplateResp"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/flow/flow_template/edit": {
|
||
"post": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"flow_template-流程模板"
|
||
],
|
||
"summary": "流程模板编辑",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": ".",
|
||
"name": "id",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
{
|
||
"description": "流程名称",
|
||
"name": "flowName",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "流程分类",
|
||
"name": "flowGroup",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
{
|
||
"description": "流程描述",
|
||
"name": "flowRemark",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "表单配置",
|
||
"name": "flowFormData",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "流程配置",
|
||
"name": "flowProcessData",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/response.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/flow/flow_template/list": {
|
||
"get": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"flow_template-流程模板"
|
||
],
|
||
"summary": "流程模板列表",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "页码",
|
||
"name": "PageNo",
|
||
"in": "query",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "每页数量",
|
||
"name": "PageSize",
|
||
"in": "query",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "流程名称",
|
||
"name": "flowName",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "流程分类",
|
||
"name": "flowGroup",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "流程描述",
|
||
"name": "flowRemark",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "表单配置",
|
||
"name": "flowFormData",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "流程配置",
|
||
"name": "flowProcessData",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/response.Response"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
"data": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/response.PageResp"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
"lists": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/flow_template.FlowTemplateResp"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/flow/flow_template/listAll": {
|
||
"get": {
|
||
"tags": [
|
||
"flow_template-流程模板"
|
||
],
|
||
"summary": "流程模板列表-所有",
|
||
"responses": {}
|
||
}
|
||
},
|
||
"/api/admin/monitor_client/ExportFile": {
|
||
"get": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"monitor_client-监控-客户端信息"
|
||
],
|
||
"summary": "监控-客户端信息导出",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "项目key",
|
||
"name": "ProjectKey",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "sdk生成的客户端id",
|
||
"name": "ClientId",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "用户id",
|
||
"name": "UserId",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "系统",
|
||
"name": "Os",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "浏览器",
|
||
"name": "Browser",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "国家",
|
||
"name": "Country",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "省份",
|
||
"name": "Province",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "城市",
|
||
"name": "City",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "电信运营商",
|
||
"name": "Operator",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "ip",
|
||
"name": "Ip",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "number",
|
||
"description": "屏幕",
|
||
"name": "Width",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "number",
|
||
"description": "屏幕高度",
|
||
"name": "Height",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "ua记录",
|
||
"name": "Ua",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "创建时间",
|
||
"name": "CreateTimeStart",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "创建时间",
|
||
"name": "CreateTimeEnd",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {}
|
||
}
|
||
},
|
||
"/api/admin/monitor_client/ImportFile": {
|
||
"post": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"monitor_client-监控-客户端信息"
|
||
],
|
||
"summary": "监控-客户端信息导入",
|
||
"responses": {}
|
||
}
|
||
},
|
||
"/api/admin/monitor_client/add": {
|
||
"post": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"monitor_client-监控-客户端信息"
|
||
],
|
||
"summary": "监控-客户端信息新增",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "项目key",
|
||
"name": "ProjectKey",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "sdk生成的客户端id",
|
||
"name": "ClientId",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "用户id",
|
||
"name": "UserId",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "系统",
|
||
"name": "Os",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "浏览器",
|
||
"name": "Browser",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "国家",
|
||
"name": "Country",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "省份",
|
||
"name": "Province",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "城市",
|
||
"name": "City",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "电信运营商",
|
||
"name": "Operator",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "ip",
|
||
"name": "Ip",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"description": "屏幕",
|
||
"name": "Width",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "number"
|
||
}
|
||
},
|
||
{
|
||
"description": "屏幕高度",
|
||
"name": "Height",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "number"
|
||
}
|
||
},
|
||
{
|
||
"description": "ua记录",
|
||
"name": "Ua",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/response.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/monitor_client/del": {
|
||
"post": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"monitor_client-监控-客户端信息"
|
||
],
|
||
"summary": "监控-客户端信息删除",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "uuid",
|
||
"name": "Id",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "number"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/response.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/monitor_client/delBatch": {
|
||
"post": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"monitor_client-监控-客户端信息"
|
||
],
|
||
"summary": "监控-客户端信息删除-批量",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "逗号分割的id",
|
||
"name": "Ids",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/response.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/monitor_client/detail": {
|
||
"get": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"monitor_client-监控-客户端信息"
|
||
],
|
||
"summary": "监控-客户端信息详情",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "number",
|
||
"description": "uuid",
|
||
"name": "Id",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/response.Response"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
" data": {
|
||
"$ref": "#/definitions/monitor_client.MonitorClientResp"
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/monitor_client/list": {
|
||
"get": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"monitor_client-监控-客户端信息"
|
||
],
|
||
"summary": "监控-客户端信息列表",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "页码",
|
||
"name": "PageNo",
|
||
"in": "query",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "每页数量",
|
||
"name": "PageSize",
|
||
"in": "query",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "项目key",
|
||
"name": "ProjectKey",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "sdk生成的客户端id",
|
||
"name": "ClientId",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "用户id",
|
||
"name": "UserId",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "系统",
|
||
"name": "Os",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "浏览器",
|
||
"name": "Browser",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "国家",
|
||
"name": "Country",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "省份",
|
||
"name": "Province",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "城市",
|
||
"name": "City",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "电信运营商",
|
||
"name": "Operator",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "ip",
|
||
"name": "Ip",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "number",
|
||
"description": "屏幕",
|
||
"name": "Width",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "number",
|
||
"description": "屏幕高度",
|
||
"name": "Height",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "ua记录",
|
||
"name": "Ua",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "创建时间",
|
||
"name": "CreateTimeStart",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "创建时间",
|
||
"name": "CreateTimeEnd",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/response.Response"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
" data": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/response.PageResp"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
" lists": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/monitor_client.MonitorClientResp"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/monitor_client/listAll": {
|
||
"get": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"monitor_client-监控-客户端信息"
|
||
],
|
||
"summary": "监控-客户端信息列表-所有",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "项目key",
|
||
"name": "ProjectKey",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "sdk生成的客户端id",
|
||
"name": "ClientId",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "用户id",
|
||
"name": "UserId",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "系统",
|
||
"name": "Os",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "浏览器",
|
||
"name": "Browser",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "国家",
|
||
"name": "Country",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "省份",
|
||
"name": "Province",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "城市",
|
||
"name": "City",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "电信运营商",
|
||
"name": "Operator",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "ip",
|
||
"name": "Ip",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "number",
|
||
"description": "屏幕",
|
||
"name": "Width",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "number",
|
||
"description": "屏幕高度",
|
||
"name": "Height",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "ua记录",
|
||
"name": "Ua",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "创建时间",
|
||
"name": "CreateTimeStart",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "创建时间",
|
||
"name": "CreateTimeEnd",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/response.Response"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
" data": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/monitor_client.MonitorClientResp"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/monitor_error/ExportFile": {
|
||
"get": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"monitor_error-监控-错误列"
|
||
],
|
||
"summary": "监控-错误列导出",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "项目key",
|
||
"name": "ProjectKey",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "事件类型",
|
||
"name": "EventType",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "URL地址",
|
||
"name": "Path",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "错误消息",
|
||
"name": "Message",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "错误堆栈",
|
||
"name": "Stack",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "md5",
|
||
"name": "Md5",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "创建时间",
|
||
"name": "CreateTimeStart",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "创建时间",
|
||
"name": "CreateTimeEnd",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {}
|
||
}
|
||
},
|
||
"/api/admin/monitor_error/ImportFile": {
|
||
"post": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"monitor_error-监控-错误列"
|
||
],
|
||
"summary": "监控-错误列导入",
|
||
"responses": {}
|
||
}
|
||
},
|
||
"/api/admin/monitor_error/add": {
|
||
"post": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"monitor_error-监控-错误列"
|
||
],
|
||
"summary": "监控-错误列新增",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "项目key",
|
||
"name": "ProjectKey",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "事件类型",
|
||
"name": "EventType",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "URL地址",
|
||
"name": "Path",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "错误消息",
|
||
"name": "Message",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "错误堆栈",
|
||
"name": "Stack",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "md5",
|
||
"name": "Md5",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/response.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/monitor_error/del": {
|
||
"post": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"monitor_error-监控-错误列"
|
||
],
|
||
"summary": "监控-错误列删除",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "错误id",
|
||
"name": "Id",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "number"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/response.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/monitor_error/delBatch": {
|
||
"post": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"monitor_error-监控-错误列"
|
||
],
|
||
"summary": "监控-错误列删除-批量",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "逗号分割的id",
|
||
"name": "Ids",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/response.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/monitor_error/detail": {
|
||
"get": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"monitor_error-监控-错误列"
|
||
],
|
||
"summary": "监控-错误列详情",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "number",
|
||
"description": "错误id",
|
||
"name": "Id",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/response.Response"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
" data": {
|
||
"$ref": "#/definitions/monitor_error.MonitorErrorResp"
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/monitor_error/list": {
|
||
"get": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"monitor_error-监控-错误列"
|
||
],
|
||
"summary": "监控-错误列列表",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "页码",
|
||
"name": "PageNo",
|
||
"in": "query",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "每页数量",
|
||
"name": "PageSize",
|
||
"in": "query",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "项目key",
|
||
"name": "ProjectKey",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "事件类型",
|
||
"name": "EventType",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "URL地址",
|
||
"name": "Path",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "错误消息",
|
||
"name": "Message",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "错误堆栈",
|
||
"name": "Stack",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "md5",
|
||
"name": "Md5",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "创建时间",
|
||
"name": "CreateTimeStart",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "创建时间",
|
||
"name": "CreateTimeEnd",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/response.Response"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
" data": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/response.PageResp"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
" lists": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/monitor_error.MonitorErrorResp"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/monitor_error/listAll": {
|
||
"get": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"monitor_error-监控-错误列"
|
||
],
|
||
"summary": "监控-错误列列表-所有",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "项目key",
|
||
"name": "ProjectKey",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "事件类型",
|
||
"name": "EventType",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "URL地址",
|
||
"name": "Path",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "错误消息",
|
||
"name": "Message",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "错误堆栈",
|
||
"name": "Stack",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "md5",
|
||
"name": "Md5",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "创建时间",
|
||
"name": "CreateTimeStart",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "创建时间",
|
||
"name": "CreateTimeEnd",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/response.Response"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
" data": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/monitor_error.MonitorErrorResp"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/monitor_project/ExportFile": {
|
||
"get": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"monitor_project-监控项目"
|
||
],
|
||
"summary": "监控项目导出",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "项目uuid",
|
||
"name": "ProjectKey",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "项目名称",
|
||
"name": "ProjectName",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "项目类型go java web node php 等",
|
||
"name": "ProjectType",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "number",
|
||
"description": "是否启用: 0=否, 1=是",
|
||
"name": "Status",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "创建时间",
|
||
"name": "CreateTimeStart",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "创建时间",
|
||
"name": "CreateTimeEnd",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "更新时间",
|
||
"name": "UpdateTimeStart",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "更新时间",
|
||
"name": "UpdateTimeEnd",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {}
|
||
}
|
||
},
|
||
"/api/admin/monitor_project/ImportFile": {
|
||
"post": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"monitor_project-监控项目"
|
||
],
|
||
"summary": "监控项目导入",
|
||
"responses": {}
|
||
}
|
||
},
|
||
"/api/admin/monitor_project/add": {
|
||
"post": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"monitor_project-监控项目"
|
||
],
|
||
"summary": "监控项目新增",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "项目uuid",
|
||
"name": "ProjectKey",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "项目名称",
|
||
"name": "ProjectName",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "项目类型go java web node php 等",
|
||
"name": "ProjectType",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "是否启用: 0=否, 1=是",
|
||
"name": "Status",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "number"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/response.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/monitor_project/del": {
|
||
"post": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"monitor_project-监控项目"
|
||
],
|
||
"summary": "监控项目删除",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "项目id",
|
||
"name": "Id",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "number"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/response.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/monitor_project/delBatch": {
|
||
"post": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"monitor_project-监控项目"
|
||
],
|
||
"summary": "监控项目删除-批量",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "逗号分割的id",
|
||
"name": "Ids",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/response.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/monitor_project/detail": {
|
||
"get": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"monitor_project-监控项目"
|
||
],
|
||
"summary": "监控项目详情",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "number",
|
||
"description": "项目id",
|
||
"name": "Id",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/response.Response"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
" data": {
|
||
"$ref": "#/definitions/monitor_project.MonitorProjectResp"
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/monitor_project/edit": {
|
||
"post": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"monitor_project-监控项目"
|
||
],
|
||
"summary": "监控项目编辑",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "项目id",
|
||
"name": "Id",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "number"
|
||
}
|
||
},
|
||
{
|
||
"description": "项目uuid",
|
||
"name": "ProjectKey",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "项目名称",
|
||
"name": "ProjectName",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "项目类型go java web node php 等",
|
||
"name": "ProjectType",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "是否启用: 0=否, 1=是",
|
||
"name": "Status",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "number"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/response.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/monitor_project/list": {
|
||
"get": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"monitor_project-监控项目"
|
||
],
|
||
"summary": "监控项目列表",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "页码",
|
||
"name": "PageNo",
|
||
"in": "query",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "每页数量",
|
||
"name": "PageSize",
|
||
"in": "query",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "项目uuid",
|
||
"name": "ProjectKey",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "项目名称",
|
||
"name": "ProjectName",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "项目类型go java web node php 等",
|
||
"name": "ProjectType",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "number",
|
||
"description": "是否启用: 0=否, 1=是",
|
||
"name": "Status",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "创建时间",
|
||
"name": "CreateTimeStart",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "创建时间",
|
||
"name": "CreateTimeEnd",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "更新时间",
|
||
"name": "UpdateTimeStart",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "更新时间",
|
||
"name": "UpdateTimeEnd",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/response.Response"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
" data": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/response.PageResp"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
" lists": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/monitor_project.MonitorProjectResp"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/monitor_project/listAll": {
|
||
"get": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"monitor_project-监控项目"
|
||
],
|
||
"summary": "监控项目列表-所有",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "项目uuid",
|
||
"name": "ProjectKey",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "项目名称",
|
||
"name": "ProjectName",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "项目类型go java web node php 等",
|
||
"name": "ProjectType",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "number",
|
||
"description": "是否启用: 0=否, 1=是",
|
||
"name": "Status",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "创建时间",
|
||
"name": "CreateTimeStart",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "创建时间",
|
||
"name": "CreateTimeEnd",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "更新时间",
|
||
"name": "UpdateTimeStart",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "更新时间",
|
||
"name": "UpdateTimeEnd",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/response.Response"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
" data": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/monitor_project.MonitorProjectResp"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/monitor_slow/ExportFile": {
|
||
"get": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"monitor_slow-监控-错误列"
|
||
],
|
||
"summary": "监控-错误列导出",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "项目key",
|
||
"name": "ProjectKey",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "sdk生成的客户端id",
|
||
"name": "ClientId",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "用户id",
|
||
"name": "UserId",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "URL地址",
|
||
"name": "Path",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "number",
|
||
"description": "时间",
|
||
"name": "Time",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "创建时间",
|
||
"name": "CreateTimeStart",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "创建时间",
|
||
"name": "CreateTimeEnd",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {}
|
||
}
|
||
},
|
||
"/api/admin/monitor_slow/ImportFile": {
|
||
"post": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"monitor_slow-监控-错误列"
|
||
],
|
||
"summary": "监控-错误列导入",
|
||
"responses": {}
|
||
}
|
||
},
|
||
"/api/admin/monitor_slow/add": {
|
||
"get": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"monitor_slow-监控-错误列"
|
||
],
|
||
"summary": "监控-错误列新增",
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/response.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/monitor_slow/del": {
|
||
"post": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"monitor_slow-监控-错误列"
|
||
],
|
||
"summary": "监控-错误列删除",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "错误id",
|
||
"name": "Id",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "number"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/response.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/monitor_slow/delBatch": {
|
||
"post": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"monitor_slow-监控-错误列"
|
||
],
|
||
"summary": "监控-错误列删除-批量",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "逗号分割的id",
|
||
"name": "Ids",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/response.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/monitor_slow/detail": {
|
||
"get": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"monitor_slow-监控-错误列"
|
||
],
|
||
"summary": "监控-错误列详情",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "number",
|
||
"description": "错误id",
|
||
"name": "Id",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/response.Response"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
" data": {
|
||
"$ref": "#/definitions/monitor_slow.MonitorSlowResp"
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/monitor_slow/edit": {
|
||
"post": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"monitor_slow-监控-错误列"
|
||
],
|
||
"summary": "监控-错误列编辑",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "错误id",
|
||
"name": "Id",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "number"
|
||
}
|
||
},
|
||
{
|
||
"description": "项目key",
|
||
"name": "ProjectKey",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "sdk生成的客户端id",
|
||
"name": "ClientId",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "用户id",
|
||
"name": "UserId",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "URL地址",
|
||
"name": "Path",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "时间",
|
||
"name": "Time",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "number"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/response.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/monitor_slow/list": {
|
||
"get": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"monitor_slow-监控-错误列"
|
||
],
|
||
"summary": "监控-错误列列表",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "页码",
|
||
"name": "PageNo",
|
||
"in": "query",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "每页数量",
|
||
"name": "PageSize",
|
||
"in": "query",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "项目key",
|
||
"name": "ProjectKey",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "sdk生成的客户端id",
|
||
"name": "ClientId",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "用户id",
|
||
"name": "UserId",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "URL地址",
|
||
"name": "Path",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "number",
|
||
"description": "时间",
|
||
"name": "Time",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "创建时间",
|
||
"name": "CreateTimeStart",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "创建时间",
|
||
"name": "CreateTimeEnd",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/response.Response"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
" data": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/response.PageResp"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
" lists": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/monitor_slow.MonitorSlowResp"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/monitor_slow/listAll": {
|
||
"get": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"monitor_slow-监控-错误列"
|
||
],
|
||
"summary": "监控-错误列列表-所有",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "项目key",
|
||
"name": "ProjectKey",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "sdk生成的客户端id",
|
||
"name": "ClientId",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "用户id",
|
||
"name": "UserId",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "URL地址",
|
||
"name": "Path",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "number",
|
||
"description": "时间",
|
||
"name": "Time",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "创建时间",
|
||
"name": "CreateTimeStart",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "创建时间",
|
||
"name": "CreateTimeEnd",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/response.Response"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
" data": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/monitor_slow.MonitorSlowResp"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/user_protocol/ExportFile": {
|
||
"get": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"user_protocol-用户协议"
|
||
],
|
||
"summary": "用户协议导出",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "标题",
|
||
"name": "Title",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "协议内容",
|
||
"name": "Content",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "number",
|
||
"description": "排序",
|
||
"name": "Sort",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "创建时间",
|
||
"name": "CreateTimeStart",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "创建时间",
|
||
"name": "CreateTimeEnd",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "更新时间",
|
||
"name": "UpdateTimeStart",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "更新时间",
|
||
"name": "UpdateTimeEnd",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {}
|
||
}
|
||
},
|
||
"/api/admin/user_protocol/ImportFile": {
|
||
"post": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"user_protocol-用户协议"
|
||
],
|
||
"summary": "用户协议导入",
|
||
"responses": {}
|
||
}
|
||
},
|
||
"/api/admin/user_protocol/add": {
|
||
"post": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"user_protocol-用户协议"
|
||
],
|
||
"summary": "用户协议新增",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "标题",
|
||
"name": "Title",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "协议内容",
|
||
"name": "Content",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "排序",
|
||
"name": "Sort",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "number"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/response.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/user_protocol/del": {
|
||
"post": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"user_protocol-用户协议"
|
||
],
|
||
"summary": "用户协议删除",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "Id",
|
||
"name": "Id",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "number"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/response.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/user_protocol/delBatch": {
|
||
"post": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"user_protocol-用户协议"
|
||
],
|
||
"summary": "用户协议删除-批量",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "逗号分割的id",
|
||
"name": "Ids",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/response.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/user_protocol/detail": {
|
||
"get": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"user_protocol-用户协议"
|
||
],
|
||
"summary": "用户协议详情",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "number",
|
||
"description": "Id",
|
||
"name": "Id",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/response.Response"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
" data": {
|
||
"$ref": "#/definitions/user_protocol.UserProtocolResp"
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/user_protocol/edit": {
|
||
"post": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"user_protocol-用户协议"
|
||
],
|
||
"summary": "用户协议编辑",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "Id",
|
||
"name": "Id",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "number"
|
||
}
|
||
},
|
||
{
|
||
"description": "标题",
|
||
"name": "Title",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "协议内容",
|
||
"name": "Content",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"description": "排序",
|
||
"name": "Sort",
|
||
"in": "body",
|
||
"schema": {
|
||
"type": "number"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/response.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/user_protocol/list": {
|
||
"get": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"user_protocol-用户协议"
|
||
],
|
||
"summary": "用户协议列表",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "页码",
|
||
"name": "PageNo",
|
||
"in": "query",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "每页数量",
|
||
"name": "PageSize",
|
||
"in": "query",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "标题",
|
||
"name": "Title",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "协议内容",
|
||
"name": "Content",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "number",
|
||
"description": "排序",
|
||
"name": "Sort",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "创建时间",
|
||
"name": "CreateTimeStart",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "创建时间",
|
||
"name": "CreateTimeEnd",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "更新时间",
|
||
"name": "UpdateTimeStart",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "更新时间",
|
||
"name": "UpdateTimeEnd",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/response.Response"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
" data": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/response.PageResp"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
" lists": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/user_protocol.UserProtocolResp"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/admin/user_protocol/listAll": {
|
||
"get": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"user_protocol-用户协议"
|
||
],
|
||
"summary": "用户协议列表-所有",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "标题",
|
||
"name": "Title",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "协议内容",
|
||
"name": "Content",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "number",
|
||
"description": "排序",
|
||
"name": "Sort",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "创建时间",
|
||
"name": "CreateTimeStart",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "创建时间",
|
||
"name": "CreateTimeEnd",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "更新时间",
|
||
"name": "UpdateTimeStart",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "更新时间",
|
||
"name": "UpdateTimeEnd",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/response.Response"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
" data": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/user_protocol.UserProtocolResp"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/article_collect/list": {
|
||
"get": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"article_collect文章"
|
||
],
|
||
"summary": "article_collect列表",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "token",
|
||
"name": "Token",
|
||
"in": "header",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "页码",
|
||
"name": "PageNo",
|
||
"in": "query",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "每页大小",
|
||
"name": "PageSize",
|
||
"in": "query",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "用户ID",
|
||
"name": "userId",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "文章ID",
|
||
"name": "articleId",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/response.PageResp"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "请求错误",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "内部错误",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/system/admin/ListByDeptId/{deptId}": {
|
||
"get": {
|
||
"description": "获取部门的用户",
|
||
"tags": [
|
||
"管理员"
|
||
],
|
||
"summary": "获取部门的用户",
|
||
"parameters": [
|
||
{
|
||
"type": "integer",
|
||
"description": "部门id",
|
||
"name": "deptId",
|
||
"in": "path",
|
||
"required": true
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "{\"code\": 200, \"data\": []}",
|
||
"schema": {
|
||
"$ref": "#/definitions/response.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"definitions": {
|
||
"core.NullFloat": {
|
||
"type": "object",
|
||
"properties": {
|
||
"float": {
|
||
"type": "number"
|
||
},
|
||
"valid": {
|
||
"type": "boolean"
|
||
}
|
||
}
|
||
},
|
||
"core.NullInt": {
|
||
"type": "object",
|
||
"properties": {
|
||
"int": {
|
||
"type": "integer"
|
||
},
|
||
"valid": {
|
||
"type": "boolean"
|
||
}
|
||
}
|
||
},
|
||
"core.NullTime": {
|
||
"type": "object",
|
||
"properties": {
|
||
"format": {
|
||
"type": "string"
|
||
},
|
||
"time": {
|
||
"type": "string"
|
||
},
|
||
"valid": {
|
||
"type": "boolean"
|
||
}
|
||
}
|
||
},
|
||
"flow_apply.FlowApplyResp": {
|
||
"type": "object",
|
||
"properties": {
|
||
"applyUserId": {
|
||
"description": "申请人id",
|
||
"type": "integer"
|
||
},
|
||
"applyUserNickname": {
|
||
"description": "申请人昵称",
|
||
"type": "string"
|
||
},
|
||
"createTime": {
|
||
"description": "创建时间",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/core.NullTime"
|
||
}
|
||
]
|
||
},
|
||
"flowFormData": {
|
||
"description": "表单配置",
|
||
"type": "string"
|
||
},
|
||
"flowGroup": {
|
||
"description": "流程分类",
|
||
"type": "integer"
|
||
},
|
||
"flowName": {
|
||
"description": "流程名称",
|
||
"type": "string"
|
||
},
|
||
"flowProcessData": {
|
||
"description": "流程配置",
|
||
"type": "string"
|
||
},
|
||
"flowProcessDataList": {
|
||
"description": "流程配置list数据",
|
||
"type": "string"
|
||
},
|
||
"flowRemark": {
|
||
"description": "流程描述",
|
||
"type": "string"
|
||
},
|
||
"formValue": {
|
||
"description": "表单值",
|
||
"type": "string"
|
||
},
|
||
"id": {
|
||
"type": "integer"
|
||
},
|
||
"status": {
|
||
"description": "状态:1待提交,2审批中,3审批完成,4审批失败",
|
||
"type": "integer"
|
||
},
|
||
"templateId": {
|
||
"description": "模板",
|
||
"type": "integer"
|
||
},
|
||
"updateTime": {
|
||
"description": "更新时间",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/core.NullTime"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
},
|
||
"flow_history.FlowHistoryResp": {
|
||
"type": "object",
|
||
"properties": {
|
||
"applyId": {
|
||
"description": "申请id",
|
||
"type": "integer"
|
||
},
|
||
"applyUserId": {
|
||
"description": "申请人id",
|
||
"type": "integer"
|
||
},
|
||
"applyUserNickname": {
|
||
"description": "申请人昵称",
|
||
"type": "string"
|
||
},
|
||
"approverId": {
|
||
"description": "审批人id",
|
||
"type": "integer"
|
||
},
|
||
"approverNickname": {
|
||
"description": "审批用户昵称",
|
||
"type": "string"
|
||
},
|
||
"createTime": {
|
||
"description": "创建时间",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/core.NullTime"
|
||
}
|
||
]
|
||
},
|
||
"formValue": {
|
||
"description": "表单值",
|
||
"type": "string"
|
||
},
|
||
"id": {
|
||
"description": "历史id",
|
||
"type": "integer"
|
||
},
|
||
"nodeId": {
|
||
"description": "节点",
|
||
"type": "string"
|
||
},
|
||
"nodeLabel": {
|
||
"description": "节点名称",
|
||
"type": "string"
|
||
},
|
||
"nodeType": {
|
||
"description": "节点类型",
|
||
"type": "string"
|
||
},
|
||
"passRemark": {
|
||
"description": "通过备注",
|
||
"type": "string"
|
||
},
|
||
"passStatus": {
|
||
"description": "通过状态:1待处理,2通过,3拒绝",
|
||
"type": "integer"
|
||
},
|
||
"templateId": {
|
||
"description": "模板id",
|
||
"type": "integer"
|
||
},
|
||
"updateTime": {
|
||
"description": "更新时间",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/core.NullTime"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
},
|
||
"flow_template.FlowTemplateResp": {
|
||
"type": "object",
|
||
"properties": {
|
||
"flowFormData": {
|
||
"description": "表单配置",
|
||
"type": "string"
|
||
},
|
||
"flowGroup": {
|
||
"description": "流程分类",
|
||
"type": "integer"
|
||
},
|
||
"flowName": {
|
||
"description": "流程名称",
|
||
"type": "string"
|
||
},
|
||
"flowProcessData": {
|
||
"description": "流程配置",
|
||
"type": "string"
|
||
},
|
||
"flowProcessDataList": {
|
||
"description": "流程配置list数据",
|
||
"type": "string"
|
||
},
|
||
"flowRemark": {
|
||
"description": "流程描述",
|
||
"type": "string"
|
||
},
|
||
"id": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"monitor_client.MonitorClientResp": {
|
||
"type": "object",
|
||
"properties": {
|
||
"browser": {
|
||
"description": "浏览器",
|
||
"type": "string"
|
||
},
|
||
"city": {
|
||
"description": "城市",
|
||
"type": "string"
|
||
},
|
||
"clientId": {
|
||
"description": "sdk生成的客户端id",
|
||
"type": "string"
|
||
},
|
||
"country": {
|
||
"description": "国家",
|
||
"type": "string"
|
||
},
|
||
"createTime": {
|
||
"description": "创建时间",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/core.NullTime"
|
||
}
|
||
]
|
||
},
|
||
"height": {
|
||
"description": "屏幕高度",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/core.NullInt"
|
||
}
|
||
]
|
||
},
|
||
"id": {
|
||
"description": "uuid",
|
||
"type": "integer"
|
||
},
|
||
"ip": {
|
||
"description": "ip",
|
||
"type": "string"
|
||
},
|
||
"operator": {
|
||
"description": "电信运营商",
|
||
"type": "string"
|
||
},
|
||
"os": {
|
||
"description": "系统",
|
||
"type": "string"
|
||
},
|
||
"projectKey": {
|
||
"description": "项目key",
|
||
"type": "string"
|
||
},
|
||
"province": {
|
||
"description": "省份",
|
||
"type": "string"
|
||
},
|
||
"ua": {
|
||
"description": "ua记录",
|
||
"type": "string"
|
||
},
|
||
"userId": {
|
||
"description": "用户id",
|
||
"type": "string"
|
||
},
|
||
"width": {
|
||
"description": "屏幕",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/core.NullInt"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
},
|
||
"monitor_error.MonitorErrorResp": {
|
||
"type": "object",
|
||
"properties": {
|
||
"createTime": {
|
||
"description": "创建时间",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/core.NullTime"
|
||
}
|
||
]
|
||
},
|
||
"eventType": {
|
||
"description": "事件类型",
|
||
"type": "string"
|
||
},
|
||
"id": {
|
||
"description": "错误id",
|
||
"type": "integer"
|
||
},
|
||
"md5": {
|
||
"description": "md5",
|
||
"type": "string"
|
||
},
|
||
"message": {
|
||
"description": "错误消息",
|
||
"type": "string"
|
||
},
|
||
"path": {
|
||
"description": "URL地址",
|
||
"type": "string"
|
||
},
|
||
"projectKey": {
|
||
"description": "项目key",
|
||
"type": "string"
|
||
},
|
||
"stack": {
|
||
"description": "错误堆栈",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"monitor_project.MonitorProjectResp": {
|
||
"type": "object",
|
||
"properties": {
|
||
"createTime": {
|
||
"description": "创建时间",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/core.NullTime"
|
||
}
|
||
]
|
||
},
|
||
"id": {
|
||
"description": "项目id",
|
||
"type": "integer"
|
||
},
|
||
"projectKey": {
|
||
"description": "项目uuid",
|
||
"type": "string"
|
||
},
|
||
"projectName": {
|
||
"description": "项目名称",
|
||
"type": "string"
|
||
},
|
||
"projectType": {
|
||
"description": "项目类型go java web node php 等",
|
||
"type": "string"
|
||
},
|
||
"status": {
|
||
"description": "是否启用: 0=否, 1=是",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/core.NullInt"
|
||
}
|
||
]
|
||
},
|
||
"updateTime": {
|
||
"description": "更新时间",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/core.NullTime"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
},
|
||
"monitor_slow.MonitorSlowResp": {
|
||
"type": "object",
|
||
"properties": {
|
||
"clientId": {
|
||
"description": "sdk生成的客户端id",
|
||
"type": "string"
|
||
},
|
||
"createTime": {
|
||
"description": "创建时间",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/core.NullTime"
|
||
}
|
||
]
|
||
},
|
||
"id": {
|
||
"description": "错误id",
|
||
"type": "integer"
|
||
},
|
||
"path": {
|
||
"description": "URL地址",
|
||
"type": "string"
|
||
},
|
||
"projectKey": {
|
||
"description": "项目key",
|
||
"type": "string"
|
||
},
|
||
"time": {
|
||
"description": "时间",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/core.NullFloat"
|
||
}
|
||
]
|
||
},
|
||
"userId": {
|
||
"description": "用户id",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"response.PageResp": {
|
||
"type": "object",
|
||
"properties": {
|
||
"count": {
|
||
"description": "总数",
|
||
"type": "integer"
|
||
},
|
||
"lists": {
|
||
"description": "数据"
|
||
},
|
||
"pageNo": {
|
||
"description": "每页数量",
|
||
"type": "integer"
|
||
},
|
||
"pageSize": {
|
||
"description": "每页Size",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"response.Response": {
|
||
"type": "object",
|
||
"properties": {
|
||
"code": {
|
||
"type": "integer"
|
||
},
|
||
"data": {},
|
||
"message": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"user_protocol.UserProtocolResp": {
|
||
"type": "object",
|
||
"properties": {
|
||
"content": {
|
||
"description": "协议内容",
|
||
"type": "string"
|
||
},
|
||
"createTime": {
|
||
"description": "创建时间",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/core.NullTime"
|
||
}
|
||
]
|
||
},
|
||
"id": {
|
||
"type": "integer"
|
||
},
|
||
"sort": {
|
||
"description": "排序",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/core.NullFloat"
|
||
}
|
||
]
|
||
},
|
||
"title": {
|
||
"description": "标题",
|
||
"type": "string"
|
||
},
|
||
"updateTime": {
|
||
"description": "更新时间",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/core.NullTime"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"securityDefinitions": {
|
||
"BasicAuth": {
|
||
"type": "basic"
|
||
}
|
||
},
|
||
"externalDocs": {
|
||
"description": "OpenAPI",
|
||
"url": "https://swagger.io/resources/open-api/"
|
||
}
|
||
}`
|
||
|
||
// SwaggerInfo holds exported Swagger Info so clients can modify it
|
||
var SwaggerInfo = &swag.Spec{
|
||
Version: "0.0.1",
|
||
Host: "localhost:8001",
|
||
BasePath: "/",
|
||
Schemes: []string{},
|
||
Title: "x_admin文档",
|
||
Description: "x_admin是一个完整的后台管理系统",
|
||
InfoInstanceName: "swagger",
|
||
SwaggerTemplate: docTemplate,
|
||
LeftDelim: "{{",
|
||
RightDelim: "}}",
|
||
}
|
||
|
||
func init() {
|
||
swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
|
||
}
|