From 6ba546c6e30c379137ba16729fe656fac1e05579 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Fri, 6 Dec 2024 14:32:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=BA=E6=9C=AC=E8=AE=BE=E7=BD=AE-=E7=BD=91?= =?UTF-8?q?=E7=AB=99=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/docs.go | 17 +++++++++++++---- docs/swagger.json | 12 +++++++++++- docs/swagger.yaml | 9 ++++++++- 3 files changed, 32 insertions(+), 6 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index de43e9a..52f4676 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -1,4 +1,5 @@ -// Package docs Code generated by swaggo/swag. DO NOT EDIT +// Code generated by swaggo/swag. DO NOT EDIT. + package docs import "github.com/swaggo/swag" @@ -1437,7 +1438,9 @@ const docTemplate = `{ "name": "req", "in": "body", "required": true, - "schema": {} + "schema": { + "type": "object" + } } ], "responses": { @@ -14506,6 +14509,10 @@ const docTemplate = `{ "seo_title": { "type": "string" }, + "wap_host": { + "type": "string", + "example": "h5域名" + }, "web_logo": { "type": "string" } @@ -14523,6 +14530,10 @@ const docTemplate = `{ "seo_title": { "type": "string" }, + "wap_host": { + "type": "string", + "example": "h5域名" + }, "web_logo": { "type": "string" }, @@ -14551,8 +14562,6 @@ var SwaggerInfo = &swag.Spec{ Description: "管理后台接口文档", InfoInstanceName: "swagger", SwaggerTemplate: docTemplate, - LeftDelim: "{{", - RightDelim: "}}", } func init() { diff --git a/docs/swagger.json b/docs/swagger.json index 2628075..95d56df 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -1430,7 +1430,9 @@ "name": "req", "in": "body", "required": true, - "schema": {} + "schema": { + "type": "object" + } } ], "responses": { @@ -14499,6 +14501,10 @@ "seo_title": { "type": "string" }, + "wap_host": { + "type": "string", + "example": "h5域名" + }, "web_logo": { "type": "string" } @@ -14516,6 +14522,10 @@ "seo_title": { "type": "string" }, + "wap_host": { + "type": "string", + "example": "h5域名" + }, "web_logo": { "type": "string" }, diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 5c789e6..0034204 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -4788,6 +4788,9 @@ definitions: type: string seo_title: type: string + wap_host: + example: h5域名 + type: string web_logo: type: string type: object @@ -4799,6 +4802,9 @@ definitions: type: string seo_title: type: string + wap_host: + example: h5域名 + type: string web_logo: type: string web_logo_url: @@ -5747,7 +5753,8 @@ paths: in: body name: req required: true - schema: {} + schema: + type: object produces: - application/json responses: