更新插件仓库
This commit is contained in:
@@ -24,108 +24,6 @@ var doc = `{
|
||||
"host": "{{.Host}}",
|
||||
"basePath": "{{.BasePath}}",
|
||||
"paths": {
|
||||
"/SimpleUploaderApi/checkFileMd5": {
|
||||
"get": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"SimpleUploader"
|
||||
],
|
||||
"summary": "断点续传插件版示例",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "md5",
|
||||
"name": "md5",
|
||||
"in": "query",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"查询成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/SimpleUploaderApi/mergeFileMd5": {
|
||||
"get": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"SimpleUploader"
|
||||
],
|
||||
"summary": "合并文件",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "md5",
|
||||
"name": "md5",
|
||||
"in": "query",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"合并成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/SimpleUploaderApi/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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/createApi": {
|
||||
"post": {
|
||||
"security": [
|
||||
@@ -1527,6 +1425,41 @@ var doc = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/email/sendEmail": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"System"
|
||||
],
|
||||
"summary": "发送邮件",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "发送邮件必须的参数",
|
||||
"name": "data",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/response.Email"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"发送成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/excel/downloadTemplate": {
|
||||
"get": {
|
||||
"security": [
|
||||
@@ -4376,6 +4309,23 @@ var doc = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"response.Email": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"body": {
|
||||
"description": "邮件内容",
|
||||
"type": "string"
|
||||
},
|
||||
"subject": {
|
||||
"description": "邮件标题",
|
||||
"type": "string"
|
||||
},
|
||||
"to": {
|
||||
"description": "邮件发送给谁",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response.SysAuthorityCopyResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
@@ -8,108 +8,6 @@
|
||||
},
|
||||
"basePath": "/",
|
||||
"paths": {
|
||||
"/SimpleUploaderApi/checkFileMd5": {
|
||||
"get": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"SimpleUploader"
|
||||
],
|
||||
"summary": "断点续传插件版示例",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "md5",
|
||||
"name": "md5",
|
||||
"in": "query",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"查询成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/SimpleUploaderApi/mergeFileMd5": {
|
||||
"get": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"SimpleUploader"
|
||||
],
|
||||
"summary": "合并文件",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "md5",
|
||||
"name": "md5",
|
||||
"in": "query",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"合并成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/SimpleUploaderApi/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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/createApi": {
|
||||
"post": {
|
||||
"security": [
|
||||
@@ -1511,6 +1409,41 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/email/sendEmail": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"System"
|
||||
],
|
||||
"summary": "发送邮件",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "发送邮件必须的参数",
|
||||
"name": "data",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/response.Email"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"发送成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/excel/downloadTemplate": {
|
||||
"get": {
|
||||
"security": [
|
||||
@@ -4360,6 +4293,23 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"response.Email": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"body": {
|
||||
"description": "邮件内容",
|
||||
"type": "string"
|
||||
},
|
||||
"subject": {
|
||||
"description": "邮件标题",
|
||||
"type": "string"
|
||||
},
|
||||
"to": {
|
||||
"description": "邮件发送给谁",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response.SysAuthorityCopyResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
@@ -567,6 +567,18 @@ definitions:
|
||||
description: 每页大小
|
||||
type: integer
|
||||
type: object
|
||||
response.Email:
|
||||
properties:
|
||||
body:
|
||||
description: 邮件内容
|
||||
type: string
|
||||
subject:
|
||||
description: 邮件标题
|
||||
type: string
|
||||
to:
|
||||
description: 邮件发送给谁
|
||||
type: string
|
||||
type: object
|
||||
response.SysAuthorityCopyResponse:
|
||||
properties:
|
||||
authority:
|
||||
@@ -930,68 +942,6 @@ info:
|
||||
title: Swagger Example API
|
||||
version: 0.0.1
|
||||
paths:
|
||||
/SimpleUploaderApi/checkFileMd5:
|
||||
get:
|
||||
parameters:
|
||||
- description: md5
|
||||
in: query
|
||||
name: md5
|
||||
required: true
|
||||
type: string
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: '{"success":true,"data":{},"msg":"查询成功"}'
|
||||
schema:
|
||||
type: string
|
||||
security:
|
||||
- ApiKeyAuth: []
|
||||
summary: 断点续传插件版示例
|
||||
tags:
|
||||
- SimpleUploader
|
||||
/SimpleUploaderApi/mergeFileMd5:
|
||||
get:
|
||||
parameters:
|
||||
- description: md5
|
||||
in: query
|
||||
name: md5
|
||||
required: true
|
||||
type: string
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: '{"success":true,"data":{},"msg":"合并成功"}'
|
||||
schema:
|
||||
type: string
|
||||
security:
|
||||
- ApiKeyAuth: []
|
||||
summary: 合并文件
|
||||
tags:
|
||||
- SimpleUploader
|
||||
/SimpleUploaderApi/upload:
|
||||
post:
|
||||
consumes:
|
||||
- multipart/form-data
|
||||
parameters:
|
||||
- description: 断点续传插件版示例
|
||||
in: formData
|
||||
name: file
|
||||
required: true
|
||||
type: file
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: '{"success":true,"data":{},"msg":"切片创建成功"}'
|
||||
schema:
|
||||
type: string
|
||||
security:
|
||||
- ApiKeyAuth: []
|
||||
summary: 断点续传插件版示例
|
||||
tags:
|
||||
- SimpleUploader
|
||||
/api/createApi:
|
||||
post:
|
||||
consumes:
|
||||
@@ -1844,6 +1794,27 @@ paths:
|
||||
summary: 发送测试邮件
|
||||
tags:
|
||||
- System
|
||||
/email/sendEmail:
|
||||
post:
|
||||
parameters:
|
||||
- description: 发送邮件必须的参数
|
||||
in: body
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/response.Email'
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: '{"success":true,"data":{},"msg":"发送成功"}'
|
||||
schema:
|
||||
type: string
|
||||
security:
|
||||
- ApiKeyAuth: []
|
||||
summary: 发送邮件
|
||||
tags:
|
||||
- System
|
||||
/excel/downloadTemplate:
|
||||
get:
|
||||
consumes:
|
||||
|
Reference in New Issue
Block a user