zhangqian
2023-11-03 35fdad4e60dd7efab032ba581fd1d12c488370dd
docs/swagger.json
@@ -217,7 +217,7 @@
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.SendProcessParams"
                            "$ref": "#/definitions/request.GetProductProgress"
                        }
                    }
                ],
@@ -955,7 +955,7 @@
                "network",
                "db",
                "serf",
                "nsq",
                "cloud",
                "device",
                "process_model",
                "plc_config",
@@ -964,10 +964,10 @@
                "plc_connect"
            ],
            "x-enum-comments": {
                "ProblemCodeCloud": "未连接云端",
                "ProblemCodeDB": "数据库连接错误",
                "ProblemCodeDevice": "未绑定设备",
                "ProblemCodeNetwork": "网络错误",
                "ProblemCodeNsq": "未连接消息队列",
                "ProblemCodePlcAddressList": "plc地址表缺失",
                "ProblemCodePlcConfig": "plc配置缺失",
                "ProblemCodePlcConnect": "plc连接失败",
@@ -981,7 +981,7 @@
                "ProblemCodeNetwork",
                "ProblemCodeDB",
                "ProblemCodeSerf",
                "ProblemCodeNsq",
                "ProblemCodeCloud",
                "ProblemCodeDevice",
                "ProblemCodeProcessModel",
                "ProblemCodePlcConfig",
@@ -1429,6 +1429,14 @@
                }
            }
        },
        "request.GetProductProgress": {
            "type": "object",
            "properties": {
                "channel": {
                    "type": "integer"
                }
            }
        },
        "request.QueryType": {
            "type": "integer",
            "enum": [