zhangqian
2023-11-08 f655ec81dd6bb978303f2812d03c6d8740e8ed7d
docs/docs.go
@@ -229,7 +229,7 @@
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.SendProcessParams"
                            "$ref": "#/definitions/request.GetProductProgress"
                        }
                    }
                ],
@@ -406,13 +406,6 @@
                ],
                "summary": "获取工艺模型列表",
                "parameters": [
                    {
                        "type": "string",
                        "description": "当前正在使用的工艺参数编号",
                        "name": "number",
                        "in": "query",
                        "required": true
                    },
                    {
                        "type": "integer",
                        "description": "页码",
@@ -974,7 +967,7 @@
                "network",
                "db",
                "serf",
                "nsq",
                "cloud",
                "device",
                "process_model",
                "plc_config",
@@ -983,10 +976,10 @@
                "plc_connect"
            ],
            "x-enum-comments": {
                "ProblemCodeCloud": "未连接云端",
                "ProblemCodeDB": "数据库连接错误",
                "ProblemCodeDevice": "未绑定设备",
                "ProblemCodeNetwork": "网络错误",
                "ProblemCodeNsq": "未连接消息队列",
                "ProblemCodePlcAddressList": "plc地址表缺失",
                "ProblemCodePlcConfig": "plc配置缺失",
                "ProblemCodePlcConnect": "plc连接失败",
@@ -1000,7 +993,7 @@
                "ProblemCodeNetwork",
                "ProblemCodeDB",
                "ProblemCodeSerf",
                "ProblemCodeNsq",
                "ProblemCodeCloud",
                "ProblemCodeDevice",
                "ProblemCodeProcessModel",
                "ProblemCodePlcConfig",
@@ -1448,6 +1441,14 @@
                }
            }
        },
        "request.GetProductProgress": {
            "type": "object",
            "properties": {
                "channel": {
                    "type": "integer"
                }
            }
        },
        "request.QueryType": {
            "type": "integer",
            "enum": [