// Code generated by swaggo/swag. DO NOT EDIT. 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": { "/api-jl/v1/fineness/register": { "get": { "produces": [ "application/json" ], "tags": [ "纤度登记" ], "summary": "纤度登记列表", "parameters": [ { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "pageSize", "in": "query" } ], "responses": { "200": { "description": "成功", "schema": { "allOf": [ { "$ref": "#/definitions/util.ResponseList" }, { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/models.FinenessRegister" } } } } ] } } } } }, "/api-jl/v1/fineness/register/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "纤度登记" ], "summary": "纤度登记删除", "parameters": [ { "type": "string", "description": "字典信息", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/util.Response" } } } } }, "/api-jl/v1/system/dict": { "get": { "produces": [ "application/json" ], "tags": [ "系统设置/字典" ], "summary": "查询字典列表", "parameters": [ { "enum": [ 0, 1, 2, 3 ], "type": "integer", "x-enum-comments": { "DictTypeColor": "颜色", "DictTypeMarket": "庄口", "DictTypeSpec": "规格", "DictTypeWorkshop": "车间" }, "x-enum-varnames": [ "DictTypeMarket", "DictTypeWorkshop", "DictTypeColor", "DictTypeSpec" ], "description": "字典类型", "name": "dictType", "in": "query" }, { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "pageSize", "in": "query" } ], "responses": { "200": { "description": "成功", "schema": { "allOf": [ { "$ref": "#/definitions/util.ResponseList" }, { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/models.Dict" } } } } ] } } } }, "put": { "produces": [ "application/json" ], "tags": [ "系统设置/字典" ], "summary": "编辑字典", "parameters": [ { "description": "字典信息", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateDict" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/util.Response" } } } }, "post": { "produces": [ "application/json" ], "tags": [ "系统设置/字典" ], "summary": "添加字典", "parameters": [ { "description": "字典信息", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddDict" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/util.Response" } } } } }, "/api-jl/v1/system/dict/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ "系统设置/字典" ], "summary": "删除字典", "parameters": [ { "type": "string", "description": "字典信息", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/util.Response" } } } } } }, "definitions": { "constvar.DictType": { "type": "integer", "enum": [ 0, 1, 2, 3 ], "x-enum-comments": { "DictTypeColor": "颜色", "DictTypeMarket": "庄口", "DictTypeSpec": "规格", "DictTypeWorkshop": "车间" }, "x-enum-varnames": [ "DictTypeMarket", "DictTypeWorkshop", "DictTypeColor", "DictTypeSpec" ] }, "gorm.DeletedAt": { "type": "object", "properties": { "time": { "type": "string" }, "valid": { "description": "Valid is true if Time is not NULL", "type": "boolean" } } }, "models.Dict": { "type": "object", "properties": { "createdAt": { "type": "string" }, "deletedAt": { "$ref": "#/definitions/gorm.DeletedAt" }, "dictType": { "description": "字典类型", "allOf": [ { "$ref": "#/definitions/constvar.DictType" } ] }, "id": { "type": "integer" }, "name": { "description": "名称", "type": "string" }, "number": { "description": "编号", "type": "string" }, "remark": { "description": "备注", "type": "string" }, "updatedAt": { "type": "string" } } }, "models.FinenessRegister": { "type": "object", "properties": { "createdAt": { "type": "string" }, "deletedAt": { "$ref": "#/definitions/gorm.DeletedAt" }, "endCircle": { "description": "结束回数", "type": "integer" }, "finishDate": { "description": "落丝时间", "type": "string" }, "id": { "type": "integer" }, "market": { "description": "庄口", "type": "string" }, "name": { "description": "车间", "type": "string" }, "number": { "description": "编号", "type": "string" }, "spec": { "description": "规格", "type": "string" }, "startCircle": { "description": "开始回数", "type": "integer" }, "updatedAt": { "type": "string" }, "workshopGroup": { "description": "车组", "type": "string" } } }, "request.AddDict": { "type": "object", "properties": { "dictType": { "description": "字典类型", "allOf": [ { "$ref": "#/definitions/constvar.DictType" } ] }, "name": { "description": "名称", "type": "string" }, "number": { "description": "编码", "type": "string" }, "remark": { "description": "备注", "type": "string" } } }, "request.UpdateDict": { "type": "object", "properties": { "dictType": { "description": "字典类型", "allOf": [ { "$ref": "#/definitions/constvar.DictType" } ] }, "id": { "type": "integer" }, "name": { "description": "名称", "type": "string" }, "number": { "description": "编码", "type": "string" }, "remark": { "description": "备注", "type": "string" } } }, "util.Response": { "type": "object", "properties": { "code": { "type": "integer" }, "data": {}, "msg": { "type": "string" } } }, "util.ResponseList": { "type": "object", "properties": { "code": { "type": "integer" }, "data": {}, "msg": { "type": "string" }, "page": { "type": "integer" }, "pageSize": { "type": "integer" }, "total": { "type": "integer" } } } } }` // 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, LeftDelim: "{{", RightDelim: "}}", } func init() { swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo) }