zhangqian
2024-02-29 849b89cde3bf2ac26bdcf33e3940f9a1a00d1e85
docs/docs.go
@@ -16,6 +16,82 @@
    "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": [
@@ -244,6 +320,55 @@
                }
            }
        },
        "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": {