Skip to content

Commit 10ea953

Browse files
author
pixel
committed
修复中间件跨域问题
1 parent 9f1504e commit 10ea953

File tree

4 files changed

+446
-3
lines changed

4 files changed

+446
-3
lines changed

server/docs/docs.go

Lines changed: 170 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
22
// This file was generated by swaggo/swag at
3-
// 2020-07-07 10:12:31.2264113 +0800 CST m=+0.088765101
3+
// 2020-08-20 11:59:55.622609 +0800 CST m=+0.106561201
44

55
package docs
66

@@ -1534,6 +1534,99 @@ var doc = `{
15341534
}
15351535
}
15361536
},
1537+
"/simpleUploader/checkFileMd5": {
1538+
"get": {
1539+
"produces": [
1540+
"application/json"
1541+
],
1542+
"parameters": [
1543+
{
1544+
"type": "string",
1545+
"description": "测试文件是否已经存在和判断已经上传过的切片",
1546+
"name": "md5",
1547+
"in": "query",
1548+
"required": true
1549+
}
1550+
],
1551+
"responses": {
1552+
"200": {
1553+
"description": "{\"success\":true,\"data\":{},\"msg\":\"查询成功\"}",
1554+
"schema": {
1555+
"type": "string"
1556+
}
1557+
}
1558+
}
1559+
}
1560+
},
1561+
"/simpleUploader/mergeFileMd5": {
1562+
"get": {
1563+
"security": [
1564+
{
1565+
"ApiKeyAuth": []
1566+
}
1567+
],
1568+
"produces": [
1569+
"application/json"
1570+
],
1571+
"tags": [
1572+
"SimpleUploader"
1573+
],
1574+
"summary": "合并文件",
1575+
"parameters": [
1576+
{
1577+
"type": "string",
1578+
"description": "合并文件",
1579+
"name": "md5",
1580+
"in": "query",
1581+
"required": true
1582+
}
1583+
],
1584+
"responses": {
1585+
"200": {
1586+
"description": "{\"success\":true,\"data\":{},\"msg\":\"合并成功\"}",
1587+
"schema": {
1588+
"type": "string"
1589+
}
1590+
}
1591+
}
1592+
}
1593+
},
1594+
"/simpleUploader/upload": {
1595+
"post": {
1596+
"security": [
1597+
{
1598+
"ApiKeyAuth": []
1599+
}
1600+
],
1601+
"consumes": [
1602+
"multipart/form-data"
1603+
],
1604+
"produces": [
1605+
"application/json"
1606+
],
1607+
"tags": [
1608+
"SimpleUploader"
1609+
],
1610+
"summary": "断点续传插件版示例",
1611+
"parameters": [
1612+
{
1613+
"type": "file",
1614+
"description": "断点续传插件版示例",
1615+
"name": "file",
1616+
"in": "formData",
1617+
"required": true
1618+
}
1619+
],
1620+
"responses": {
1621+
"200": {
1622+
"description": "{\"success\":true,\"data\":{},\"msg\":\"上传成功\"}",
1623+
"schema": {
1624+
"type": "string"
1625+
}
1626+
}
1627+
}
1628+
}
1629+
},
15371630
"/sysDictionary/createSysDictionary": {
15381631
"post": {
15391632
"security": [
@@ -2002,6 +2095,45 @@ var doc = `{
20022095
}
20032096
}
20042097
},
2098+
"/sysOperationRecord/deleteSysOperationRecordByIds": {
2099+
"delete": {
2100+
"security": [
2101+
{
2102+
"ApiKeyAuth": []
2103+
}
2104+
],
2105+
"consumes": [
2106+
"application/json"
2107+
],
2108+
"produces": [
2109+
"application/json"
2110+
],
2111+
"tags": [
2112+
"SysOperationRecord"
2113+
],
2114+
"summary": "批量删除SysOperationRecord",
2115+
"parameters": [
2116+
{
2117+
"description": "批量删除SysOperationRecord",
2118+
"name": "data",
2119+
"in": "body",
2120+
"required": true,
2121+
"schema": {
2122+
"type": "object",
2123+
"$ref": "#/definitions/request.IdsReq"
2124+
}
2125+
}
2126+
],
2127+
"responses": {
2128+
"200": {
2129+
"description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}",
2130+
"schema": {
2131+
"type": "string"
2132+
}
2133+
}
2134+
}
2135+
}
2136+
},
20052137
"/sysOperationRecord/findSysOperationRecord": {
20062138
"get": {
20072139
"security": [
@@ -2711,6 +2843,9 @@ var doc = `{
27112843
"dataTypeLong": {
27122844
"type": "string"
27132845
},
2846+
"dictType": {
2847+
"type": "string"
2848+
},
27142849
"fieldDesc": {
27152850
"type": "string"
27162851
},
@@ -2819,6 +2954,12 @@ var doc = `{
28192954
"name": {
28202955
"type": "string"
28212956
},
2957+
"parameters": {
2958+
"type": "array",
2959+
"items": {
2960+
"$ref": "#/definitions/model.SysBaseMenuParameter"
2961+
}
2962+
},
28222963
"parentId": {
28232964
"type": "string"
28242965
},
@@ -2833,6 +2974,23 @@ var doc = `{
28332974
}
28342975
}
28352976
},
2977+
"model.SysBaseMenuParameter": {
2978+
"type": "object",
2979+
"properties": {
2980+
"key": {
2981+
"type": "string"
2982+
},
2983+
"sysBaseMenuId": {
2984+
"type": "integer"
2985+
},
2986+
"type": {
2987+
"type": "string"
2988+
},
2989+
"value": {
2990+
"type": "string"
2991+
}
2992+
}
2993+
},
28362994
"model.SysDictionary": {
28372995
"type": "object",
28382996
"properties": {
@@ -3070,6 +3228,17 @@ var doc = `{
30703228
}
30713229
}
30723230
},
3231+
"request.IdsReq": {
3232+
"type": "object",
3233+
"properties": {
3234+
"ids": {
3235+
"type": "array",
3236+
"items": {
3237+
"type": "integer"
3238+
}
3239+
}
3240+
}
3241+
},
30733242
"request.PageInfo": {
30743243
"type": "object",
30753244
"properties": {

0 commit comments

Comments
 (0)