From e1d04fc1b96d85d4521719624c3d2a780c2fefea Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期四, 11 四月 2024 17:01:56 +0800 Subject: [PATCH] swag提交 --- docs/swagger.yaml | 18 ++++++--- docs/docs.go | 24 ++++++++--- docs/swagger.json | 24 ++++++++--- 3 files changed, 46 insertions(+), 20 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 21d7273..11a91f9 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -1910,6 +1910,17 @@ } } }, + "request.PieceInfo": { + "type": "object", + "properties": { + "pieceNumber": { + "type": "integer" + }, + "value": { + "type": "number" + } + } + }, "request.RankStandard": { "type": "object", "properties": { @@ -2011,17 +2022,16 @@ "description": "鍙颁骇", "type": "number" }, - "pieceNumber": { - "description": "鐗囨暟", - "type": "integer" + "pieceNumbers": { + "description": "鐗囨暟淇℃伅", + "type": "array", + "items": { + "$ref": "#/definitions/request.PieceInfo" + } }, "reelingdiscount": { "description": "缂姌", "type": "string" - }, - "value": { - "description": "鍊�", - "type": "number" }, "yieldRegisterId": { "description": "浜ч噺鐧昏琛╥d", diff --git a/docs/swagger.json b/docs/swagger.json index 4b8329e..331e1b8 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -1898,6 +1898,17 @@ } } }, + "request.PieceInfo": { + "type": "object", + "properties": { + "pieceNumber": { + "type": "integer" + }, + "value": { + "type": "number" + } + } + }, "request.RankStandard": { "type": "object", "properties": { @@ -1999,17 +2010,16 @@ "description": "鍙颁骇", "type": "number" }, - "pieceNumber": { - "description": "鐗囨暟", - "type": "integer" + "pieceNumbers": { + "description": "鐗囨暟淇℃伅", + "type": "array", + "items": { + "$ref": "#/definitions/request.PieceInfo" + } }, "reelingdiscount": { "description": "缂姌", "type": "string" - }, - "value": { - "description": "鍊�", - "type": "number" }, "yieldRegisterId": { "description": "浜ч噺鐧昏琛╥d", diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 17f71bc..d933c43 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -563,6 +563,13 @@ description: 姣忛〉澶у皬 type: integer type: object + request.PieceInfo: + properties: + pieceNumber: + type: integer + value: + type: number + type: object request.RankStandard: properties: checkItem: @@ -631,15 +638,14 @@ oneYield: description: 鍙颁骇 type: number - pieceNumber: - description: 鐗囨暟 - type: integer + pieceNumbers: + description: 鐗囨暟淇℃伅 + items: + $ref: '#/definitions/request.PieceInfo' + type: array reelingdiscount: description: 缂姌 type: string - value: - description: 鍊� - type: number yieldRegisterId: description: 浜ч噺鐧昏琛╥d type: integer -- Gitblit v1.8.0