// Package docs GENERATED BY SWAG; DO NOT EDIT // This file was generated by swaggo/swag package docs import "github.com/swaggo/swag" const docTemplate = `{ "schemes": {{ marshal .Schemes }}, "swagger": "2.0", "info": { "description": "{{escape .Description}}", "title": "{{.Title}}", "contact": {}, "version": "{{.Version}}" }, "host": "{{.Host}}", "basePath": "{{.BasePath}}", "paths": { "/admin/login": { "post": { "description": "管理员登陆", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "管理员借口" ], "summary": "管理员登陆", "operationId": "/admin/login", "parameters": [ { "description": "body", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/dto.AdminLoginInput" } } ], "responses": { "200": { "description": "success", "schema": { "allOf": [ { "$ref": "#/definitions/middleware.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/dto.AdminLoginOutput" } } } ] } } } } } }, "definitions": { "dto.AdminLoginInput": { "type": "object", "required": [ "password", "username" ], "properties": { "password": { "type": "string", "example": "" }, "username": { "type": "string", "example": "" } } }, "dto.AdminLoginOutput": { "type": "object", "properties": { "token": { "type": "string", "example": "token" } } }, "middleware.Response": { "type": "object", "properties": { "data": {}, "errmsg": { "type": "string" }, "errno": { "type": "integer" }, "stack": {}, "trace_id": {} } } } }` // SwaggerInfo holds exported Swagger Info so clients can modify it var SwaggerInfo = &swag.Spec{ Version: "", Host: "", BasePath: "", Schemes: []string{}, Title: "", Description: "", InfoInstanceName: "swagger", SwaggerTemplate: docTemplate, } func init() { swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo) }