swag文档默认属性调整

This commit is contained in:
piexlmax(奇淼
2023-12-22 10:27:51 +08:00
parent 0a4cda26cb
commit 22f68fedcb
6 changed files with 311 additions and 447 deletions
+102 -144
View File
@@ -1,5 +1,4 @@
// Code generated by swaggo/swag. DO NOT EDIT.
// Package docs Code generated by swaggo/swag. DO NOT EDIT
package docs
import "github.com/swaggo/swag"
@@ -1798,6 +1797,12 @@ const docTemplate = `{
],
"summary": "获取单一客户信息",
"parameters": [
{
"type": "integer",
"description": "主键ID",
"name": "ID",
"in": "query"
},
{
"type": "string",
"description": "创建时间",
@@ -1816,12 +1821,6 @@ const docTemplate = `{
"name": "customerPhoneData",
"in": "query"
},
{
"type": "integer",
"description": "主键ID",
"name": "id",
"in": "query"
},
{
"type": "integer",
"description": "管理角色ID",
@@ -3123,6 +3122,12 @@ const docTemplate = `{
],
"summary": "用id查询SysDictionary",
"parameters": [
{
"type": "integer",
"description": "主键ID",
"name": "ID",
"in": "query"
},
{
"type": "string",
"description": "创建时间",
@@ -3135,12 +3140,6 @@ const docTemplate = `{
"name": "desc",
"in": "query"
},
{
"type": "integer",
"description": "主键ID",
"name": "id",
"in": "query"
},
{
"type": "string",
"description": "字典名(中)",
@@ -3402,6 +3401,12 @@ const docTemplate = `{
],
"summary": "用id查询SysDictionaryDetail",
"parameters": [
{
"type": "integer",
"description": "主键ID",
"name": "ID",
"in": "query"
},
{
"type": "string",
"description": "创建时间",
@@ -3414,12 +3419,6 @@ const docTemplate = `{
"name": "extend",
"in": "query"
},
{
"type": "integer",
"description": "主键ID",
"name": "id",
"in": "query"
},
{
"type": "string",
"description": "展示值",
@@ -3501,6 +3500,12 @@ const docTemplate = `{
],
"summary": "分页获取SysDictionaryDetail列表",
"parameters": [
{
"type": "integer",
"description": "主键ID",
"name": "ID",
"in": "query"
},
{
"type": "string",
"description": "创建时间",
@@ -3513,12 +3518,6 @@ const docTemplate = `{
"name": "extend",
"in": "query"
},
{
"type": "integer",
"description": "主键ID",
"name": "id",
"in": "query"
},
{
"type": "string",
"description": "关键字",
@@ -3817,6 +3816,12 @@ const docTemplate = `{
],
"summary": "用id查询SysOperationRecord",
"parameters": [
{
"type": "integer",
"description": "主键ID",
"name": "ID",
"in": "query"
},
{
"type": "string",
"description": "代理",
@@ -3841,12 +3846,6 @@ const docTemplate = `{
"name": "error_message",
"in": "query"
},
{
"type": "integer",
"description": "主键ID",
"name": "id",
"in": "query"
},
{
"type": "string",
"description": "请求ip",
@@ -3940,6 +3939,12 @@ const docTemplate = `{
],
"summary": "分页获取SysOperationRecord列表",
"parameters": [
{
"type": "integer",
"description": "主键ID",
"name": "ID",
"in": "query"
},
{
"type": "string",
"description": "代理",
@@ -3964,12 +3969,6 @@ const docTemplate = `{
"name": "error_message",
"in": "query"
},
{
"type": "integer",
"description": "主键ID",
"name": "id",
"in": "query"
},
{
"type": "string",
"description": "请求ip",
@@ -4880,23 +4879,6 @@ const docTemplate = `{
}
}
},
"config.Detail": {
"type": "object",
"properties": {
"compareField": {
"description": "需要比较时间的字段",
"type": "string"
},
"interval": {
"description": "时间间隔",
"type": "string"
},
"tableName": {
"description": "需要清理的表名",
"type": "string"
}
}
},
"config.Excel": {
"type": "object",
"properties": {
@@ -5383,9 +5365,6 @@ const docTemplate = `{
"tencent-cos": {
"$ref": "#/definitions/config.TencentCOS"
},
"timer": {
"$ref": "#/definitions/config.Timer"
},
"zap": {
"$ref": "#/definitions/config.Zap"
}
@@ -5575,29 +5554,6 @@ const docTemplate = `{
}
}
},
"config.Timer": {
"type": "object",
"properties": {
"detail": {
"type": "array",
"items": {
"$ref": "#/definitions/config.Detail"
}
},
"spec": {
"description": "CRON表达式",
"type": "string"
},
"start": {
"description": "是否启用",
"type": "boolean"
},
"with_seconds": {
"description": "是否精确到秒",
"type": "boolean"
}
}
},
"config.Zap": {
"type": "object",
"properties": {
@@ -5642,6 +5598,10 @@ const docTemplate = `{
"example.ExaCustomer": {
"type": "object",
"properties": {
"ID": {
"description": "主键ID",
"type": "integer"
},
"createdAt": {
"description": "创建时间",
"type": "string"
@@ -5654,10 +5614,6 @@ const docTemplate = `{
"description": "客户手机号",
"type": "string"
},
"id": {
"description": "主键ID",
"type": "integer"
},
"sysUser": {
"description": "管理详情",
"allOf": [
@@ -5683,6 +5639,10 @@ const docTemplate = `{
"example.ExaFile": {
"type": "object",
"properties": {
"ID": {
"description": "主键ID",
"type": "integer"
},
"chunkTotal": {
"type": "integer"
},
@@ -5705,10 +5665,6 @@ const docTemplate = `{
"filePath": {
"type": "string"
},
"id": {
"description": "主键ID",
"type": "integer"
},
"isFinish": {
"type": "boolean"
},
@@ -5721,6 +5677,10 @@ const docTemplate = `{
"example.ExaFileChunk": {
"type": "object",
"properties": {
"ID": {
"description": "主键ID",
"type": "integer"
},
"createdAt": {
"description": "创建时间",
"type": "string"
@@ -5734,10 +5694,6 @@ const docTemplate = `{
"fileChunkPath": {
"type": "string"
},
"id": {
"description": "主键ID",
"type": "integer"
},
"updatedAt": {
"description": "更新时间",
"type": "string"
@@ -5747,14 +5703,14 @@ const docTemplate = `{
"example.ExaFileUploadAndDownload": {
"type": "object",
"properties": {
"ID": {
"description": "主键ID",
"type": "integer"
},
"createdAt": {
"description": "创建时间",
"type": "string"
},
"id": {
"description": "主键ID",
"type": "integer"
},
"key": {
"description": "编号",
"type": "string"
@@ -6029,6 +5985,10 @@ const docTemplate = `{
"request.SearchApiParams": {
"type": "object",
"properties": {
"ID": {
"description": "主键ID",
"type": "integer"
},
"apiGroup": {
"description": "api组",
"type": "string"
@@ -6045,10 +6005,6 @@ const docTemplate = `{
"description": "api中文描述",
"type": "string"
},
"id": {
"description": "主键ID",
"type": "integer"
},
"keyword": {
"description": "关键字",
"type": "string"
@@ -6496,6 +6452,10 @@ const docTemplate = `{
"system.SysApi": {
"type": "object",
"properties": {
"ID": {
"description": "主键ID",
"type": "integer"
},
"apiGroup": {
"description": "api组",
"type": "string"
@@ -6508,10 +6468,6 @@ const docTemplate = `{
"description": "api中文描述",
"type": "string"
},
"id": {
"description": "主键ID",
"type": "integer"
},
"method": {
"description": "方法:创建POST(默认)|查看GET|更新PUT|删除DELETE",
"type": "string"
@@ -6579,6 +6535,10 @@ const docTemplate = `{
"system.SysAutoCode": {
"type": "object",
"properties": {
"ID": {
"description": "主键ID",
"type": "integer"
},
"createdAt": {
"description": "创建时间",
"type": "string"
@@ -6586,10 +6546,6 @@ const docTemplate = `{
"desc": {
"type": "string"
},
"id": {
"description": "主键ID",
"type": "integer"
},
"label": {
"type": "string"
},
@@ -6605,6 +6561,10 @@ const docTemplate = `{
"system.SysBaseMenu": {
"type": "object",
"properties": {
"ID": {
"description": "主键ID",
"type": "integer"
},
"authoritys": {
"type": "array",
"items": {
@@ -6629,10 +6589,6 @@ const docTemplate = `{
"description": "是否在列表隐藏",
"type": "boolean"
},
"id": {
"description": "主键ID",
"type": "integer"
},
"menuBtn": {
"type": "array",
"items": {
@@ -6678,6 +6634,10 @@ const docTemplate = `{
"system.SysBaseMenuBtn": {
"type": "object",
"properties": {
"ID": {
"description": "主键ID",
"type": "integer"
},
"createdAt": {
"description": "创建时间",
"type": "string"
@@ -6685,10 +6645,6 @@ const docTemplate = `{
"desc": {
"type": "string"
},
"id": {
"description": "主键ID",
"type": "integer"
},
"name": {
"type": "string"
},
@@ -6704,14 +6660,14 @@ const docTemplate = `{
"system.SysBaseMenuParameter": {
"type": "object",
"properties": {
"ID": {
"description": "主键ID",
"type": "integer"
},
"createdAt": {
"description": "创建时间",
"type": "string"
},
"id": {
"description": "主键ID",
"type": "integer"
},
"key": {
"description": "地址栏携带参数的key",
"type": "string"
@@ -6736,6 +6692,10 @@ const docTemplate = `{
"system.SysDictionary": {
"type": "object",
"properties": {
"ID": {
"description": "主键ID",
"type": "integer"
},
"createdAt": {
"description": "创建时间",
"type": "string"
@@ -6744,10 +6704,6 @@ const docTemplate = `{
"description": "描述",
"type": "string"
},
"id": {
"description": "主键ID",
"type": "integer"
},
"name": {
"description": "字典名(中)",
"type": "string"
@@ -6775,6 +6731,10 @@ const docTemplate = `{
"system.SysDictionaryDetail": {
"type": "object",
"properties": {
"ID": {
"description": "主键ID",
"type": "integer"
},
"createdAt": {
"description": "创建时间",
"type": "string"
@@ -6783,10 +6743,6 @@ const docTemplate = `{
"description": "扩展值",
"type": "string"
},
"id": {
"description": "主键ID",
"type": "integer"
},
"label": {
"description": "展示值",
"type": "string"
@@ -6816,6 +6772,10 @@ const docTemplate = `{
"system.SysMenu": {
"type": "object",
"properties": {
"ID": {
"description": "主键ID",
"type": "integer"
},
"authoritys": {
"type": "array",
"items": {
@@ -6846,10 +6806,6 @@ const docTemplate = `{
"description": "是否在列表隐藏",
"type": "boolean"
},
"id": {
"description": "主键ID",
"type": "integer"
},
"menuBtn": {
"type": "array",
"items": {
@@ -6898,6 +6854,10 @@ const docTemplate = `{
"system.SysOperationRecord": {
"type": "object",
"properties": {
"ID": {
"description": "主键ID",
"type": "integer"
},
"agent": {
"description": "代理",
"type": "string"
@@ -6914,10 +6874,6 @@ const docTemplate = `{
"description": "错误信息",
"type": "string"
},
"id": {
"description": "主键ID",
"type": "integer"
},
"ip": {
"description": "请求ip",
"type": "string"
@@ -6958,6 +6914,10 @@ const docTemplate = `{
"system.SysUser": {
"type": "object",
"properties": {
"ID": {
"description": "主键ID",
"type": "integer"
},
"activeColor": {
"description": "活跃颜色",
"type": "string"
@@ -6995,10 +6955,6 @@ const docTemplate = `{
"description": "用户头像",
"type": "string"
},
"id": {
"description": "主键ID",
"type": "integer"
},
"nickName": {
"description": "用户昵称",
"type": "string"
@@ -7045,14 +7001,16 @@ const docTemplate = `{
// SwaggerInfo holds exported Swagger Info so clients can modify it
var SwaggerInfo = &swag.Spec{
Version: "0.0.1",
Version: "v2.5.7",
Host: "",
BasePath: "",
Schemes: []string{},
Title: "Swagger Example API",
Description: "This is a sample Server pets",
Title: "Gin-Vue-Admin Swagger API接口文档",
Description: "使用gin+vue进行极速开发的全栈开发基础平台",
InfoInstanceName: "swagger",
SwaggerTemplate: docTemplate,
LeftDelim: "{{",
RightDelim: "}}",
}
func init() {
+99 -142
View File
@@ -1,10 +1,10 @@
{
"swagger": "2.0",
"info": {
"description": "This is a sample Server pets",
"title": "Swagger Example API",
"description": "使用gin+vue进行极速开发的全栈开发基础平台",
"title": "Gin-Vue-Admin Swagger API接口文档",
"contact": {},
"version": "0.0.1"
"version": "v2.5.7"
},
"paths": {
"/api/createApi": {
@@ -1789,6 +1789,12 @@
],
"summary": "获取单一客户信息",
"parameters": [
{
"type": "integer",
"description": "主键ID",
"name": "ID",
"in": "query"
},
{
"type": "string",
"description": "创建时间",
@@ -1807,12 +1813,6 @@
"name": "customerPhoneData",
"in": "query"
},
{
"type": "integer",
"description": "主键ID",
"name": "id",
"in": "query"
},
{
"type": "integer",
"description": "管理角色ID",
@@ -3114,6 +3114,12 @@
],
"summary": "用id查询SysDictionary",
"parameters": [
{
"type": "integer",
"description": "主键ID",
"name": "ID",
"in": "query"
},
{
"type": "string",
"description": "创建时间",
@@ -3126,12 +3132,6 @@
"name": "desc",
"in": "query"
},
{
"type": "integer",
"description": "主键ID",
"name": "id",
"in": "query"
},
{
"type": "string",
"description": "字典名(中)",
@@ -3393,6 +3393,12 @@
],
"summary": "用id查询SysDictionaryDetail",
"parameters": [
{
"type": "integer",
"description": "主键ID",
"name": "ID",
"in": "query"
},
{
"type": "string",
"description": "创建时间",
@@ -3405,12 +3411,6 @@
"name": "extend",
"in": "query"
},
{
"type": "integer",
"description": "主键ID",
"name": "id",
"in": "query"
},
{
"type": "string",
"description": "展示值",
@@ -3492,6 +3492,12 @@
],
"summary": "分页获取SysDictionaryDetail列表",
"parameters": [
{
"type": "integer",
"description": "主键ID",
"name": "ID",
"in": "query"
},
{
"type": "string",
"description": "创建时间",
@@ -3504,12 +3510,6 @@
"name": "extend",
"in": "query"
},
{
"type": "integer",
"description": "主键ID",
"name": "id",
"in": "query"
},
{
"type": "string",
"description": "关键字",
@@ -3808,6 +3808,12 @@
],
"summary": "用id查询SysOperationRecord",
"parameters": [
{
"type": "integer",
"description": "主键ID",
"name": "ID",
"in": "query"
},
{
"type": "string",
"description": "代理",
@@ -3832,12 +3838,6 @@
"name": "error_message",
"in": "query"
},
{
"type": "integer",
"description": "主键ID",
"name": "id",
"in": "query"
},
{
"type": "string",
"description": "请求ip",
@@ -3931,6 +3931,12 @@
],
"summary": "分页获取SysOperationRecord列表",
"parameters": [
{
"type": "integer",
"description": "主键ID",
"name": "ID",
"in": "query"
},
{
"type": "string",
"description": "代理",
@@ -3955,12 +3961,6 @@
"name": "error_message",
"in": "query"
},
{
"type": "integer",
"description": "主键ID",
"name": "id",
"in": "query"
},
{
"type": "string",
"description": "请求ip",
@@ -4871,23 +4871,6 @@
}
}
},
"config.Detail": {
"type": "object",
"properties": {
"compareField": {
"description": "需要比较时间的字段",
"type": "string"
},
"interval": {
"description": "时间间隔",
"type": "string"
},
"tableName": {
"description": "需要清理的表名",
"type": "string"
}
}
},
"config.Excel": {
"type": "object",
"properties": {
@@ -5374,9 +5357,6 @@
"tencent-cos": {
"$ref": "#/definitions/config.TencentCOS"
},
"timer": {
"$ref": "#/definitions/config.Timer"
},
"zap": {
"$ref": "#/definitions/config.Zap"
}
@@ -5566,29 +5546,6 @@
}
}
},
"config.Timer": {
"type": "object",
"properties": {
"detail": {
"type": "array",
"items": {
"$ref": "#/definitions/config.Detail"
}
},
"spec": {
"description": "CRON表达式",
"type": "string"
},
"start": {
"description": "是否启用",
"type": "boolean"
},
"with_seconds": {
"description": "是否精确到秒",
"type": "boolean"
}
}
},
"config.Zap": {
"type": "object",
"properties": {
@@ -5633,6 +5590,10 @@
"example.ExaCustomer": {
"type": "object",
"properties": {
"ID": {
"description": "主键ID",
"type": "integer"
},
"createdAt": {
"description": "创建时间",
"type": "string"
@@ -5645,10 +5606,6 @@
"description": "客户手机号",
"type": "string"
},
"id": {
"description": "主键ID",
"type": "integer"
},
"sysUser": {
"description": "管理详情",
"allOf": [
@@ -5674,6 +5631,10 @@
"example.ExaFile": {
"type": "object",
"properties": {
"ID": {
"description": "主键ID",
"type": "integer"
},
"chunkTotal": {
"type": "integer"
},
@@ -5696,10 +5657,6 @@
"filePath": {
"type": "string"
},
"id": {
"description": "主键ID",
"type": "integer"
},
"isFinish": {
"type": "boolean"
},
@@ -5712,6 +5669,10 @@
"example.ExaFileChunk": {
"type": "object",
"properties": {
"ID": {
"description": "主键ID",
"type": "integer"
},
"createdAt": {
"description": "创建时间",
"type": "string"
@@ -5725,10 +5686,6 @@
"fileChunkPath": {
"type": "string"
},
"id": {
"description": "主键ID",
"type": "integer"
},
"updatedAt": {
"description": "更新时间",
"type": "string"
@@ -5738,14 +5695,14 @@
"example.ExaFileUploadAndDownload": {
"type": "object",
"properties": {
"ID": {
"description": "主键ID",
"type": "integer"
},
"createdAt": {
"description": "创建时间",
"type": "string"
},
"id": {
"description": "主键ID",
"type": "integer"
},
"key": {
"description": "编号",
"type": "string"
@@ -6020,6 +5977,10 @@
"request.SearchApiParams": {
"type": "object",
"properties": {
"ID": {
"description": "主键ID",
"type": "integer"
},
"apiGroup": {
"description": "api组",
"type": "string"
@@ -6036,10 +5997,6 @@
"description": "api中文描述",
"type": "string"
},
"id": {
"description": "主键ID",
"type": "integer"
},
"keyword": {
"description": "关键字",
"type": "string"
@@ -6487,6 +6444,10 @@
"system.SysApi": {
"type": "object",
"properties": {
"ID": {
"description": "主键ID",
"type": "integer"
},
"apiGroup": {
"description": "api组",
"type": "string"
@@ -6499,10 +6460,6 @@
"description": "api中文描述",
"type": "string"
},
"id": {
"description": "主键ID",
"type": "integer"
},
"method": {
"description": "方法:创建POST(默认)|查看GET|更新PUT|删除DELETE",
"type": "string"
@@ -6570,6 +6527,10 @@
"system.SysAutoCode": {
"type": "object",
"properties": {
"ID": {
"description": "主键ID",
"type": "integer"
},
"createdAt": {
"description": "创建时间",
"type": "string"
@@ -6577,10 +6538,6 @@
"desc": {
"type": "string"
},
"id": {
"description": "主键ID",
"type": "integer"
},
"label": {
"type": "string"
},
@@ -6596,6 +6553,10 @@
"system.SysBaseMenu": {
"type": "object",
"properties": {
"ID": {
"description": "主键ID",
"type": "integer"
},
"authoritys": {
"type": "array",
"items": {
@@ -6620,10 +6581,6 @@
"description": "是否在列表隐藏",
"type": "boolean"
},
"id": {
"description": "主键ID",
"type": "integer"
},
"menuBtn": {
"type": "array",
"items": {
@@ -6669,6 +6626,10 @@
"system.SysBaseMenuBtn": {
"type": "object",
"properties": {
"ID": {
"description": "主键ID",
"type": "integer"
},
"createdAt": {
"description": "创建时间",
"type": "string"
@@ -6676,10 +6637,6 @@
"desc": {
"type": "string"
},
"id": {
"description": "主键ID",
"type": "integer"
},
"name": {
"type": "string"
},
@@ -6695,14 +6652,14 @@
"system.SysBaseMenuParameter": {
"type": "object",
"properties": {
"ID": {
"description": "主键ID",
"type": "integer"
},
"createdAt": {
"description": "创建时间",
"type": "string"
},
"id": {
"description": "主键ID",
"type": "integer"
},
"key": {
"description": "地址栏携带参数的key",
"type": "string"
@@ -6727,6 +6684,10 @@
"system.SysDictionary": {
"type": "object",
"properties": {
"ID": {
"description": "主键ID",
"type": "integer"
},
"createdAt": {
"description": "创建时间",
"type": "string"
@@ -6735,10 +6696,6 @@
"description": "描述",
"type": "string"
},
"id": {
"description": "主键ID",
"type": "integer"
},
"name": {
"description": "字典名(中)",
"type": "string"
@@ -6766,6 +6723,10 @@
"system.SysDictionaryDetail": {
"type": "object",
"properties": {
"ID": {
"description": "主键ID",
"type": "integer"
},
"createdAt": {
"description": "创建时间",
"type": "string"
@@ -6774,10 +6735,6 @@
"description": "扩展值",
"type": "string"
},
"id": {
"description": "主键ID",
"type": "integer"
},
"label": {
"description": "展示值",
"type": "string"
@@ -6807,6 +6764,10 @@
"system.SysMenu": {
"type": "object",
"properties": {
"ID": {
"description": "主键ID",
"type": "integer"
},
"authoritys": {
"type": "array",
"items": {
@@ -6837,10 +6798,6 @@
"description": "是否在列表隐藏",
"type": "boolean"
},
"id": {
"description": "主键ID",
"type": "integer"
},
"menuBtn": {
"type": "array",
"items": {
@@ -6889,6 +6846,10 @@
"system.SysOperationRecord": {
"type": "object",
"properties": {
"ID": {
"description": "主键ID",
"type": "integer"
},
"agent": {
"description": "代理",
"type": "string"
@@ -6905,10 +6866,6 @@
"description": "错误信息",
"type": "string"
},
"id": {
"description": "主键ID",
"type": "integer"
},
"ip": {
"description": "请求ip",
"type": "string"
@@ -6949,6 +6906,10 @@
"system.SysUser": {
"type": "object",
"properties": {
"ID": {
"description": "主键ID",
"type": "integer"
},
"activeColor": {
"description": "活跃颜色",
"type": "string"
@@ -6986,10 +6947,6 @@
"description": "用户头像",
"type": "string"
},
"id": {
"description": "主键ID",
"type": "integer"
},
"nickName": {
"description": "用户昵称",
"type": "string"
+72 -102
View File
@@ -106,18 +106,6 @@ definitions:
description: 防爆破验证码超时时间,单位:s(秒)
type: integer
type: object
config.Detail:
properties:
compareField:
description: 需要比较时间的字段
type: string
interval:
description: 时间间隔
type: string
tableName:
description: 需要清理的表名
type: string
type: object
config.Excel:
properties:
dir:
@@ -457,8 +445,6 @@ definitions:
$ref: '#/definitions/config.System'
tencent-cos:
$ref: '#/definitions/config.TencentCOS'
timer:
$ref: '#/definitions/config.Timer'
zap:
$ref: '#/definitions/config.Zap'
type: object
@@ -593,22 +579,6 @@ definitions:
secret-key:
type: string
type: object
config.Timer:
properties:
detail:
items:
$ref: '#/definitions/config.Detail'
type: array
spec:
description: CRON表达式
type: string
start:
description: 是否启用
type: boolean
with_seconds:
description: 是否精确到秒
type: boolean
type: object
config.Zap:
properties:
director:
@@ -641,6 +611,9 @@ definitions:
type: object
example.ExaCustomer:
properties:
ID:
description: 主键ID
type: integer
createdAt:
description: 创建时间
type: string
@@ -650,9 +623,6 @@ definitions:
customerPhoneData:
description: 客户手机号
type: string
id:
description: 主键ID
type: integer
sysUser:
allOf:
- $ref: '#/definitions/system.SysUser'
@@ -669,6 +639,9 @@ definitions:
type: object
example.ExaFile:
properties:
ID:
description: 主键ID
type: integer
chunkTotal:
type: integer
createdAt:
@@ -684,9 +657,6 @@ definitions:
type: string
filePath:
type: string
id:
description: 主键ID
type: integer
isFinish:
type: boolean
updatedAt:
@@ -695,6 +665,9 @@ definitions:
type: object
example.ExaFileChunk:
properties:
ID:
description: 主键ID
type: integer
createdAt:
description: 创建时间
type: string
@@ -704,21 +677,18 @@ definitions:
type: integer
fileChunkPath:
type: string
id:
description: 主键ID
type: integer
updatedAt:
description: 更新时间
type: string
type: object
example.ExaFileUploadAndDownload:
properties:
ID:
description: 主键ID
type: integer
createdAt:
description: 创建时间
type: string
id:
description: 主键ID
type: integer
key:
description: 编号
type: string
@@ -912,6 +882,9 @@ definitions:
type: object
request.SearchApiParams:
properties:
ID:
description: 主键ID
type: integer
apiGroup:
description: api组
type: string
@@ -924,9 +897,6 @@ definitions:
description:
description: api中文描述
type: string
id:
description: 主键ID
type: integer
keyword:
description: 关键字
type: string
@@ -1231,6 +1201,9 @@ definitions:
type: object
system.SysApi:
properties:
ID:
description: 主键ID
type: integer
apiGroup:
description: api组
type: string
@@ -1240,9 +1213,6 @@ definitions:
description:
description: api中文描述
type: string
id:
description: 主键ID
type: integer
method:
description: 方法:创建POST(默认)|查看GET|更新PUT|删除DELETE
type: string
@@ -1290,14 +1260,14 @@ definitions:
type: object
system.SysAutoCode:
properties:
ID:
description: 主键ID
type: integer
createdAt:
description: 创建时间
type: string
desc:
type: string
id:
description: 主键ID
type: integer
label:
type: string
packageName:
@@ -1308,6 +1278,9 @@ definitions:
type: object
system.SysBaseMenu:
properties:
ID:
description: 主键ID
type: integer
authoritys:
items:
$ref: '#/definitions/system.SysAuthority'
@@ -1325,9 +1298,6 @@ definitions:
hidden:
description: 是否在列表隐藏
type: boolean
id:
description: 主键ID
type: integer
menuBtn:
items:
$ref: '#/definitions/system.SysBaseMenuBtn'
@@ -1358,14 +1328,14 @@ definitions:
type: object
system.SysBaseMenuBtn:
properties:
ID:
description: 主键ID
type: integer
createdAt:
description: 创建时间
type: string
desc:
type: string
id:
description: 主键ID
type: integer
name:
type: string
sysBaseMenuID:
@@ -1376,12 +1346,12 @@ definitions:
type: object
system.SysBaseMenuParameter:
properties:
ID:
description: 主键ID
type: integer
createdAt:
description: 创建时间
type: string
id:
description: 主键ID
type: integer
key:
description: 地址栏携带参数的key
type: string
@@ -1399,15 +1369,15 @@ definitions:
type: object
system.SysDictionary:
properties:
ID:
description: 主键ID
type: integer
createdAt:
description: 创建时间
type: string
desc:
description: 描述
type: string
id:
description: 主键ID
type: integer
name:
description: 字典名(中)
type: string
@@ -1427,15 +1397,15 @@ definitions:
type: object
system.SysDictionaryDetail:
properties:
ID:
description: 主键ID
type: integer
createdAt:
description: 创建时间
type: string
extend:
description: 扩展值
type: string
id:
description: 主键ID
type: integer
label:
description: 展示值
type: string
@@ -1457,6 +1427,9 @@ definitions:
type: object
system.SysMenu:
properties:
ID:
description: 主键ID
type: integer
authoritys:
items:
$ref: '#/definitions/system.SysAuthority'
@@ -1478,9 +1451,6 @@ definitions:
hidden:
description: 是否在列表隐藏
type: boolean
id:
description: 主键ID
type: integer
menuBtn:
items:
$ref: '#/definitions/system.SysBaseMenuBtn'
@@ -1513,6 +1483,9 @@ definitions:
type: object
system.SysOperationRecord:
properties:
ID:
description: 主键ID
type: integer
agent:
description: 代理
type: string
@@ -1525,9 +1498,6 @@ definitions:
error_message:
description: 错误信息
type: string
id:
description: 主键ID
type: integer
ip:
description: 请求ip
type: string
@@ -1557,6 +1527,9 @@ definitions:
type: object
system.SysUser:
properties:
ID:
description: 主键ID
type: integer
activeColor:
description: 活跃颜色
type: string
@@ -1584,9 +1557,6 @@ definitions:
headerImg:
description: 用户头像
type: string
id:
description: 主键ID
type: integer
nickName:
description: 用户昵称
type: string
@@ -1613,9 +1583,9 @@ definitions:
type: object
info:
contact: {}
description: This is a sample Server pets
title: Swagger Example API
version: 0.0.1
description: 使用gin+vue进行极速开发的全栈开发基础平台
title: Gin-Vue-Admin Swagger API接口文档
version: v2.5.7
paths:
/api/createApi:
post:
@@ -2645,6 +2615,10 @@ paths:
consumes:
- application/json
parameters:
- description: 主键ID
in: query
name: ID
type: integer
- description: 创建时间
in: query
name: createdAt
@@ -2657,10 +2631,6 @@ paths:
in: query
name: customerPhoneData
type: string
- description: 主键ID
in: query
name: id
type: integer
- description: 管理角色ID
in: query
name: sysUserAuthorityID
@@ -3370,6 +3340,10 @@ paths:
consumes:
- application/json
parameters:
- description: 主键ID
in: query
name: ID
type: integer
- description: 创建时间
in: query
name: createdAt
@@ -3378,10 +3352,6 @@ paths:
in: query
name: desc
type: string
- description: 主键ID
in: query
name: id
type: integer
- description: 字典名(中)
in: query
name: name
@@ -3530,6 +3500,10 @@ paths:
consumes:
- application/json
parameters:
- description: 主键ID
in: query
name: ID
type: integer
- description: 创建时间
in: query
name: createdAt
@@ -3538,10 +3512,6 @@ paths:
in: query
name: extend
type: string
- description: 主键ID
in: query
name: id
type: integer
- description: 展示值
in: query
name: label
@@ -3591,6 +3561,10 @@ paths:
consumes:
- application/json
parameters:
- description: 主键ID
in: query
name: ID
type: integer
- description: 创建时间
in: query
name: createdAt
@@ -3599,10 +3573,6 @@ paths:
in: query
name: extend
type: string
- description: 主键ID
in: query
name: id
type: integer
- description: 关键字
in: query
name: keyword
@@ -3775,6 +3745,10 @@ paths:
consumes:
- application/json
parameters:
- description: 主键ID
in: query
name: ID
type: integer
- description: 代理
in: query
name: agent
@@ -3791,10 +3765,6 @@ paths:
in: query
name: error_message
type: string
- description: 主键ID
in: query
name: id
type: integer
- description: 请求ip
in: query
name: ip
@@ -3852,6 +3822,10 @@ paths:
consumes:
- application/json
parameters:
- description: 主键ID
in: query
name: ID
type: integer
- description: 代理
in: query
name: agent
@@ -3868,10 +3842,6 @@ paths:
in: query
name: error_message
type: string
- description: 主键ID
in: query
name: id
type: integer
- description: 请求ip
in: query
name: ip