swag文档默认属性调整
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user