zhangqian
2023-08-19 8426708ecdf4f25656a04d7b182643b27c188157
docs/docs.go
@@ -22,7 +22,7 @@
                    "application/json"
                ],
                "tags": [
                    "Base"
                    "Task"
                ],
                "summary": "任务结束",
                "parameters": [
@@ -75,13 +75,41 @@
                }
            }
        },
        "/v1/task/sendProcessParams/{id}": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Task"
                ],
                "summary": "下发工艺参数",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "工序id",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/v1/task/start/{id}": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Base"
                    "Task"
                ],
                "summary": "任务开始",
                "parameters": [
@@ -97,7 +125,22 @@
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/response.ProcessParams"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
@@ -153,6 +196,9 @@
                },
                "unit": {
                    "type": "string"
                },
                "workOrderId": {
                    "type": "string"
                }
            }
        },
@@ -192,8 +238,14 @@
        "request.ProcedureWorker": {
            "type": "object",
            "properties": {
                "endTime": {
                    "type": "integer"
                },
                "phoneNum": {
                    "type": "string"
                },
                "startTime": {
                    "type": "integer"
                },
                "workerId": {
                    "type": "string"
@@ -207,6 +259,9 @@
            "type": "object",
            "properties": {
                "deviceId": {
                    "type": "string"
                },
                "deviceName": {
                    "type": "string"
                },
                "endTime": {
@@ -247,6 +302,15 @@
                }
            }
        },
        "response.ProcessParams": {
            "type": "object",
            "properties": {
                "key": {
                    "type": "string"
                },
                "value": {}
            }
        },
        "response.TaskData": {
            "type": "object",
            "properties": {