From d93d2bc56ed06b3c060ff48f49591e8c5d779230 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期四, 14 九月 2023 22:33:45 +0800 Subject: [PATCH] 通讯方式字段转换 --- docs/docs.go | 24 +++++++++++++++++++++++- 1 files changed, 23 insertions(+), 1 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 6c17dbd..dc275bb 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -153,7 +153,7 @@ } }, "/v1/plc/productProgress": { - "get": { + "post": { "produces": [ "application/json" ], @@ -551,6 +551,13 @@ "common.ProductProcedure": { "type": "object", "properties": { + "allProcedureNames": { + "description": "鎵�灞炲伐鍗曞伐搴忓垪琛�", + "type": "array", + "items": { + "type": "string" + } + }, "deviceId": { "type": "string" }, @@ -698,6 +705,10 @@ }, "length": { "description": "鏁版嵁闀垮害", + "type": "integer" + }, + "position": { + "description": "鏁版嵁璧峰鍦板潃", "type": "integer" }, "startAddress": { @@ -865,6 +876,10 @@ "id": { "type": "integer" }, + "position": { + "description": "姣忎釜璁惧鍙兘鏈夊涓満浣嶅悓鏃剁敓浜э紝鐢╬osition琛ㄧず浣嶇疆", + "type": "integer" + }, "procedure": { "description": "common.ProductProcedure 瀵硅薄", "allOf": [ @@ -1003,6 +1018,9 @@ "finishNumber": { "type": "integer" }, + "plcStatus": { + "type": "integer" + }, "totalNumber": { "type": "integer" } @@ -1040,6 +1058,10 @@ "order": { "$ref": "#/definitions/model.Order" }, + "position": { + "description": "褰撳墠浠诲姟鍦ㄨ澶囩鍑犱釜浣嶇疆", + "type": "integer" + }, "procedure": { "$ref": "#/definitions/model.Procedures" } -- Gitblit v1.8.0