From c7b298c3d2bd922df7514f8a5ca37a0c7f6e5686 Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期五, 29 三月 2024 20:00:52 +0800
Subject: [PATCH] 收货数量修改

---
 docs/docs.go |   84 ++++++++++++++++++++++++++++++++++++------
 1 files changed, 72 insertions(+), 12 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index 9d4195b..853f041 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -1389,6 +1389,13 @@
                         "type": "string",
                         "name": "unit",
                         "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "description": "token",
+                        "name": "Authorization",
+                        "in": "header",
+                        "required": true
                     }
                 ],
                 "responses": {
@@ -1606,6 +1613,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": [
@@ -1794,8 +1839,8 @@
                 }
             }
         },
-        "/purchase/newSubmit/{id}": {
-            "get": {
+        "/purchase/newSubmit": {
+            "post": {
                 "security": [
                     {
                         "ApiKeyAuth": []
@@ -1813,11 +1858,13 @@
                 "summary": "鏂扮増鎻愪氦",
                 "parameters": [
                     {
-                        "type": "integer",
-                        "description": "閲囪喘鍗旾D",
-                        "name": "id",
-                        "in": "path",
-                        "required": true
+                        "description": "鍙傛暟",
+                        "name": "data",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/purchaserequest.SubmitPurchase"
+                        }
                     }
                 ],
                 "responses": {
@@ -2396,11 +2443,13 @@
                 "summary": "鎻愪氦閲囪喘鍗�",
                 "parameters": [
                     {
-                        "type": "integer",
-                        "description": "閲囪喘鍗旾D",
-                        "name": "id",
-                        "in": "path",
-                        "required": true
+                        "description": "鍙傛暟",
+                        "name": "data",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/purchaserequest.SubmitPurchase"
+                        }
                     }
                 ],
                 "responses": {
@@ -4517,6 +4566,17 @@
                 }
             }
         },
+        "purchaserequest.SubmitPurchase": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "status": {
+                    "$ref": "#/definitions/purchase.OrderStatus"
+                }
+            }
+        },
         "purchaserequest.UpdatePurchase": {
             "type": "object",
             "properties": {

--
Gitblit v1.8.0