diff --git a/docs/docs.go b/docs/docs.go index d46887c..de43e9a 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -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" @@ -1438,9 +1437,7 @@ const docTemplate = `{ "name": "req", "in": "body", "required": true, - "schema": { - "type": "object" - } + "schema": {} } ], "responses": { @@ -8248,6 +8245,10 @@ const docTemplate = `{ "md.AddLevelTaskReq": { "type": "object", "properties": { + "active_days": { + "description": "活跃多少天", + "type": "string" + }, "finish_count": { "description": "多少天内完成的指标", "type": "string" @@ -12890,6 +12891,10 @@ const docTemplate = `{ "md.UpdateLevelTaskReq": { "type": "object", "properties": { + "active_days": { + "description": "活跃多少天", + "type": "string" + }, "finish_count": { "description": "多少天内完成的指标", "type": "string" @@ -14546,6 +14551,8 @@ var SwaggerInfo = &swag.Spec{ Description: "管理后台接口文档", InfoInstanceName: "swagger", SwaggerTemplate: docTemplate, + LeftDelim: "{{", + RightDelim: "}}", } func init() { diff --git a/docs/swagger.json b/docs/swagger.json index fde9b16..2628075 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -1430,9 +1430,7 @@ "name": "req", "in": "body", "required": true, - "schema": { - "type": "object" - } + "schema": {} } ], "responses": { @@ -8240,6 +8238,10 @@ "md.AddLevelTaskReq": { "type": "object", "properties": { + "active_days": { + "description": "活跃多少天", + "type": "string" + }, "finish_count": { "description": "多少天内完成的指标", "type": "string" @@ -12882,6 +12884,10 @@ "md.UpdateLevelTaskReq": { "type": "object", "properties": { + "active_days": { + "description": "活跃多少天", + "type": "string" + }, "finish_count": { "description": "多少天内完成的指标", "type": "string" diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 45de204..5c789e6 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -451,6 +451,9 @@ definitions: type: object md.AddLevelTaskReq: properties: + active_days: + description: 活跃多少天 + type: string finish_count: description: 多少天内完成的指标 type: string @@ -3666,6 +3669,9 @@ definitions: type: object md.UpdateLevelTaskReq: properties: + active_days: + description: 活跃多少天 + type: string finish_count: description: 多少天内完成的指标 type: string @@ -5741,8 +5747,7 @@ paths: in: body name: req required: true - schema: - type: object + schema: {} produces: - application/json responses: