From 9461cf8416e5b745a5631fe24703dcfb7aee2d35 Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期六, 23 三月 2024 16:35:02 +0800
Subject: [PATCH] swag 提交

---
 api/v1/purchase/purchase.go |    4 +-
 docs/swagger.yaml           |   23 +++++++++++
 docs/docs.go                |   38 +++++++++++++++++++
 docs/swagger.json           |   38 +++++++++++++++++++
 4 files changed, 101 insertions(+), 2 deletions(-)

diff --git a/api/v1/purchase/purchase.go b/api/v1/purchase/purchase.go
index ebcaad4..cfa3f0d 100644
--- a/api/v1/purchase/purchase.go
+++ b/api/v1/purchase/purchase.go
@@ -648,8 +648,8 @@
 // @Security  ApiKeyAuth
 // @accept    application/json
 // @Produce   application/json
-// @Param     data  body     purchaserequest.SaveQualityInspectionInfo   true  "鍙傛暟"
-// @Success   200   {object}  response.Response{data=[]purchase.PurchaseProductConfirm}  "鑾峰彇纭淇℃伅"
+// @Param     data  body     purchaserequest.PurchaseProductConfirmInfo   true  "鍙傛暟"
+// @Success   200   {object}  response.Response{}  "鑾峰彇纭淇℃伅"
 // @Router    /purchase/allProductInWarehouse [post]
 func (e *PurchaseApi) AllProductInWarehouse(c *gin.Context) {
 	var params []*purchaserequest.PurchaseProductConfirmInfo
diff --git a/docs/docs.go b/docs/docs.go
index 9d4195b..5601ef6 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -1606,6 +1606,44 @@
                 }
             }
         },
+        "/purchase/allProductInWarehouse": {
+            "post": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "consumes": [
+                    "application/json"
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Purchase"
+                ],
+                "summary": "鍏ㄩ儴鍚堟牸鍏ュ簱",
+                "parameters": [
+                    {
+                        "description": "鍙傛暟",
+                        "name": "data",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/purchaserequest.PurchaseProductConfirmInfo"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鑾峰彇纭淇℃伅",
+                        "schema": {
+                            "$ref": "#/definitions/response.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/purchase/getOperationInfo/{id}": {
             "get": {
                 "security": [
diff --git a/docs/swagger.json b/docs/swagger.json
index bbbdb70..b9c2610 100644
--- a/docs/swagger.json
+++ b/docs/swagger.json
@@ -1597,6 +1597,44 @@
                 }
             }
         },
+        "/purchase/allProductInWarehouse": {
+            "post": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "consumes": [
+                    "application/json"
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Purchase"
+                ],
+                "summary": "鍏ㄩ儴鍚堟牸鍏ュ簱",
+                "parameters": [
+                    {
+                        "description": "鍙傛暟",
+                        "name": "data",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/purchaserequest.PurchaseProductConfirmInfo"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鑾峰彇纭淇℃伅",
+                        "schema": {
+                            "$ref": "#/definitions/response.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/purchase/getOperationInfo/{id}": {
             "get": {
                 "security": [
diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index 0d8c756..3e1d780 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -2110,6 +2110,29 @@
       summary: 棰勮Contract
       tags:
       - Contract
+  /purchase/allProductInWarehouse:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: 鍙傛暟
+        in: body
+        name: data
+        required: true
+        schema:
+          $ref: '#/definitions/purchaserequest.PurchaseProductConfirmInfo'
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: 鑾峰彇纭淇℃伅
+          schema:
+            $ref: '#/definitions/response.Response'
+      security:
+      - ApiKeyAuth: []
+      summary: 鍏ㄩ儴鍚堟牸鍏ュ簱
+      tags:
+      - Purchase
   /purchase/getOperationInfo/{id}:
     get:
       consumes:

--
Gitblit v1.8.0