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 |  121 ++++++++++++++++++++++++++++++++++------
 1 files changed, 102 insertions(+), 19 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index 21d7273..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"
                                         }
                                     }
                                 }
@@ -762,6 +762,58 @@
                                     "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"
+                                            }
                                         }
                                     }
                                 }
@@ -1371,7 +1423,7 @@
                 },
                 "quantity": {
                     "description": "鏁伴噺",
-                    "type": "number"
+                    "type": "integer"
                 },
                 "sum": {
                     "description": "绾ゅ害鍚堣",
@@ -1613,6 +1665,15 @@
                 "record": {
                     "type": "number"
                 },
+                "selectOne": {
+                    "type": "boolean"
+                },
+                "selectThree": {
+                    "type": "boolean"
+                },
+                "selectTwo": {
+                    "type": "boolean"
+                },
                 "spec": {
                     "type": "string"
                 },
@@ -1640,11 +1701,11 @@
                 "vehicleSpeed": {
                     "type": "number"
                 },
-                "workshopId": {
-                    "type": "integer"
-                },
                 "workshopName": {
                     "description": "杞﹂棿鍚�",
+                    "type": "string"
+                },
+                "workshopNumber": {
                     "type": "string"
                 }
             }
@@ -1829,9 +1890,9 @@
                     "description": "瑙勬牸",
                     "type": "string"
                 },
-                "workshopId": {
-                    "description": "杞﹂棿id",
-                    "type": "integer"
+                "workshopNumber": {
+                    "description": "杞﹂棿缂栫爜",
+                    "type": "string"
                 }
             }
         },
@@ -1865,7 +1926,7 @@
                 },
                 "quantity": {
                     "description": "鏁伴噺",
-                    "type": "number"
+                    "type": "integer"
                 },
                 "sum": {
                     "description": "鍚堣",
@@ -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"
                 }
             }
         },

--
Gitblit v1.8.0