修复中间件跨域问题

This commit is contained in:
pixel
2020-08-20 12:01:52 +08:00
parent 9f1504e88a
commit 10ea953bfd
4 changed files with 446 additions and 3 deletions
+169
View File
@@ -1517,6 +1517,99 @@
}
}
},
"/simpleUploader/checkFileMd5": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"type": "string",
"description": "测试文件是否已经存在和判断已经上传过的切片",
"name": "md5",
"in": "query",
"required": true
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"查询成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/simpleUploader/mergeFileMd5": {
"get": {
"security": [
{
"ApiKeyAuth": []
}
],
"produces": [
"application/json"
],
"tags": [
"SimpleUploader"
],
"summary": "合并文件",
"parameters": [
{
"type": "string",
"description": "合并文件",
"name": "md5",
"in": "query",
"required": true
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"合并成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/simpleUploader/upload": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"multipart/form-data"
],
"produces": [
"application/json"
],
"tags": [
"SimpleUploader"
],
"summary": "断点续传插件版示例",
"parameters": [
{
"type": "file",
"description": "断点续传插件版示例",
"name": "file",
"in": "formData",
"required": true
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"上传成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/sysDictionary/createSysDictionary": {
"post": {
"security": [
@@ -1985,6 +2078,45 @@
}
}
},
"/sysOperationRecord/deleteSysOperationRecordByIds": {
"delete": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"SysOperationRecord"
],
"summary": "批量删除SysOperationRecord",
"parameters": [
{
"description": "批量删除SysOperationRecord",
"name": "data",
"in": "body",
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/request.IdsReq"
}
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/sysOperationRecord/findSysOperationRecord": {
"get": {
"security": [
@@ -2694,6 +2826,9 @@
"dataTypeLong": {
"type": "string"
},
"dictType": {
"type": "string"
},
"fieldDesc": {
"type": "string"
},
@@ -2802,6 +2937,12 @@
"name": {
"type": "string"
},
"parameters": {
"type": "array",
"items": {
"$ref": "#/definitions/model.SysBaseMenuParameter"
}
},
"parentId": {
"type": "string"
},
@@ -2816,6 +2957,23 @@
}
}
},
"model.SysBaseMenuParameter": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"sysBaseMenuId": {
"type": "integer"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
}
},
"model.SysDictionary": {
"type": "object",
"properties": {
@@ -3053,6 +3211,17 @@
}
}
},
"request.IdsReq": {
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "integer"
}
}
}
},
"request.PageInfo": {
"type": "object",
"properties": {