From 42a8ea1423243465f7161c560916f6abf9faf1dc Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期三, 17 四月 2024 15:40:06 +0800 Subject: [PATCH] 添加健康检查接口 --- docs/docs.go | 250 +++++++++++++++++++++++++++++++++++--------------- 1 files changed, 175 insertions(+), 75 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index eac5508..3a2131b 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -265,7 +265,7 @@ "type": "object", "properties": { "data": { - "$ref": "#/definitions/models.YieldRegister" + "$ref": "#/definitions/request.YieldRegisterInfo" } } } @@ -722,6 +722,107 @@ } } }, + "/api-jl/v1/system/getCarAndLevel": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "绯荤粺璁剧疆/杞﹂棿绠$悊" + ], + "summary": "鑾峰彇杞﹁締缂栧彿鍜岀瓑绾�", + "parameters": [ + { + "type": "string", + "description": "token", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetWorkshopManageCar" + } + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/util.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.CarAndLevel" + } + } + } + ] + } + } + } + } + }, + "/api-jl/v1/system/getCarNumber": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "绯荤粺璁剧疆/杞﹂棿绠$悊" + ], + "summary": "鑾峰彇杞﹁締缂栧彿", + "parameters": [ + { + "type": "string", + "description": "token", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetWorkshopManageCar" + } + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/util.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "integer" + } + } + } + } + ] + } + } + } + } + }, "/api-jl/v1/system/getPriceStandardList": { "get": { "produces": [ @@ -833,61 +934,6 @@ "type": "object", "additionalProperties": { "type": "string" - } - } - } - } - ] - } - } - } - } - }, - "/api-jl/v1/system/getWorkshopManageCar": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "绯荤粺璁剧疆/杞﹂棿绠$悊" - ], - "summary": "鑾峰彇杞﹁締缂栧彿", - "parameters": [ - { - "type": "string", - "description": "token", - "name": "Authorization", - "in": "header", - "required": true - }, - { - "description": "鍙傛暟", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/request.GetWorkshopManageCar" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "allOf": [ - { - "$ref": "#/definitions/util.ResponseList" - }, - { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "integer" - } } } } @@ -1377,7 +1423,7 @@ }, "quantity": { "description": "鏁伴噺", - "type": "number" + "type": "integer" }, "sum": { "description": "绾ゅ害鍚堣", @@ -1619,6 +1665,15 @@ "record": { "type": "number" }, + "selectOne": { + "type": "boolean" + }, + "selectThree": { + "type": "boolean" + }, + "selectTwo": { + "type": "boolean" + }, "spec": { "type": "string" }, @@ -1646,11 +1701,11 @@ "vehicleSpeed": { "type": "number" }, - "workshopId": { - "type": "integer" - }, "workshopName": { "description": "杞﹂棿鍚�", + "type": "string" + }, + "workshopNumber": { "type": "string" } } @@ -1835,9 +1890,9 @@ "description": "瑙勬牸", "type": "string" }, - "workshopId": { - "description": "杞﹂棿id", - "type": "integer" + "workshopNumber": { + "description": "杞﹂棿缂栫爜", + "type": "string" } } }, @@ -1871,7 +1926,7 @@ }, "quantity": { "description": "鏁伴噺", - "type": "number" + "type": "integer" }, "sum": { "description": "鍚堣", @@ -1883,9 +1938,15 @@ "type": "object", "properties": { "groupNumber": { + "description": "缁勫埆", "type": "integer" }, - "workshopNumber": { + "marketName": { + "description": "/搴勫彛鍚�", + "type": "string" + }, + "workshopName": { + "description": "杞﹂棿鍚嶇О", "type": "string" } } @@ -1907,6 +1968,17 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + } + } + }, + "request.PieceInfo": { + "type": "object", + "properties": { + "pieceNumber": { + "type": "integer" + }, + "value": { + "type": "number" } } }, @@ -2011,17 +2083,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", @@ -2111,6 +2182,18 @@ "description": "鐢熶骇鐢ㄦ椂", "type": "number" }, + "selectOne": { + "description": "钀戒笣妗舵暟1閫変腑", + "type": "boolean" + }, + "selectThree": { + "description": "钀戒笣妗舵暟3閫変腑", + "type": "boolean" + }, + "selectTwo": { + "description": "钀戒笣妗舵暟2閫変腑", + "type": "boolean" + }, "spec": { "description": "瑙勬牸", "type": "string" @@ -2143,9 +2226,9 @@ "description": "瀹炴椂杞﹂��", "type": "number" }, - "workshopId": { - "description": "杞﹂棿id", - "type": "integer" + "workshopNumber": { + "description": "杞﹂棿缂栫爜", + "type": "string" } } }, @@ -2178,6 +2261,23 @@ } } }, + "response.CarAndLevel": { + "type": "object", + "properties": { + "car": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "integer" + } + } + }, + "level": { + "type": "string" + } + } + }, "response.DynamicsRank": { "type": "object", "properties": { -- Gitblit v1.8.0