Browse Source

update swag

master
shenjiachi 1 week ago
parent
commit
b1cbf42735
3 changed files with 31 additions and 13 deletions
  1. +13
    -6
      docs/docs.go
  2. +10
    -4
      docs/swagger.json
  3. +8
    -3
      docs/swagger.yaml

+ 13
- 6
docs/docs.go 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 package docs


import "github.com/swaggo/swag" import "github.com/swaggo/swag"
@@ -1438,9 +1437,7 @@ const docTemplate = `{
"name": "req", "name": "req",
"in": "body", "in": "body",
"required": true, "required": true,
"schema": {
"type": "object"
}
"schema": {}
} }
], ],
"responses": { "responses": {
@@ -7843,7 +7840,7 @@ const docTemplate = `{
"type": "integer" "type": "integer"
}, },
"tag_name": { "tag_name": {
"description": "标签 名称",
"description": "标签名称",
"type": "string" "type": "string"
} }
} }
@@ -12043,6 +12040,10 @@ const docTemplate = `{
"page_size": { "page_size": {
"type": "integer" "type": "integer"
}, },
"phone": {
"description": "手机号",
"type": "string"
},
"state": { "state": {
"description": "状态", "description": "状态",
"type": "integer" "type": "integer"
@@ -12056,6 +12057,10 @@ const docTemplate = `{
"type": "string", "type": "string",
"example": "备注" "example": "备注"
}, },
"name": {
"description": "表情名称",
"type": "string"
},
"page": { "page": {
"type": "integer" "type": "integer"
}, },
@@ -14589,6 +14594,8 @@ var SwaggerInfo = &swag.Spec{
Description: "管理后台接口文档", Description: "管理后台接口文档",
InfoInstanceName: "swagger", InfoInstanceName: "swagger",
SwaggerTemplate: docTemplate, SwaggerTemplate: docTemplate,
LeftDelim: "{{",
RightDelim: "}}",
} }


func init() { func init() {


+ 10
- 4
docs/swagger.json View File

@@ -1430,9 +1430,7 @@
"name": "req", "name": "req",
"in": "body", "in": "body",
"required": true, "required": true,
"schema": {
"type": "object"
}
"schema": {}
} }
], ],
"responses": { "responses": {
@@ -7835,7 +7833,7 @@
"type": "integer" "type": "integer"
}, },
"tag_name": { "tag_name": {
"description": "标签 名称",
"description": "标签名称",
"type": "string" "type": "string"
} }
} }
@@ -12035,6 +12033,10 @@
"page_size": { "page_size": {
"type": "integer" "type": "integer"
}, },
"phone": {
"description": "手机号",
"type": "string"
},
"state": { "state": {
"description": "状态", "description": "状态",
"type": "integer" "type": "integer"
@@ -12048,6 +12050,10 @@
"type": "string", "type": "string",
"example": "备注" "example": "备注"
}, },
"name": {
"description": "表情名称",
"type": "string"
},
"page": { "page": {
"type": "integer" "type": "integer"
}, },


+ 8
- 3
docs/swagger.yaml View File

@@ -171,7 +171,7 @@ definitions:
description: 标签 ID description: 标签 ID
type: integer type: integer
tag_name: tag_name:
description: 标签 名称
description: 标签名称
type: string type: string
type: object type: object
applet_app_md_setCenter_oss_aliyun.GetBasicResp: applet_app_md_setCenter_oss_aliyun.GetBasicResp:
@@ -3088,6 +3088,9 @@ definitions:
type: integer type: integer
page_size: page_size:
type: integer type: integer
phone:
description: 手机号
type: string
state: state:
description: 状态 description: 状态
type: integer type: integer
@@ -3097,6 +3100,9 @@ definitions:
memo: memo:
example: 备注 example: 备注
type: string type: string
name:
description: 表情名称
type: string
page: page:
type: integer type: integer
page_size: page_size:
@@ -5778,8 +5784,7 @@ paths:
in: body in: body
name: req name: req
required: true required: true
schema:
type: object
schema: {}
produces: produces:
- application/json - application/json
responses: responses:


Loading…
Cancel
Save