From d52defafc50d1a103199711d5151e24fc4a4d6b1 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期一, 28 八月 2023 12:47:27 +0800
Subject: [PATCH] update swag

---
 docs/swagger.yaml |  100 ++++++++++++++-----------------------------------
 1 files changed, 29 insertions(+), 71 deletions(-)

diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index e310fbc..a58da37 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -4248,75 +4248,6 @@
       summary: 鍒嗛〉鑾峰彇Product鍒楄〃
       tags:
       - Product
-  /p/getProductListFromGrpc:
-    get:
-      consumes:
-      - application/json
-      parameters:
-      - in: query
-        name: deliveryTime
-        type: integer
-      - in: query
-        name: endCreatedAt
-        type: string
-      - description: 涓婚敭ID
-        in: query
-        name: id
-        type: integer
-      - description: 鍏抽敭瀛�
-        in: query
-        name: keyword
-        type: string
-      - in: query
-        name: maximumStock
-        type: integer
-      - in: query
-        name: minimumStock
-        type: integer
-      - in: query
-        name: name
-        type: string
-      - in: query
-        name: number
-        type: string
-      - description: 椤电爜
-        in: query
-        name: page
-        type: integer
-      - description: 姣忛〉澶у皬
-        in: query
-        name: pageSize
-        type: integer
-      - in: query
-        name: productType
-        type: string
-      - in: query
-        name: purchasePrice
-        type: number
-      - in: query
-        name: remark
-        type: string
-      - in: query
-        name: shippingDuration
-        type: integer
-      - in: query
-        name: startCreatedAt
-        type: string
-      - in: query
-        name: unit
-        type: string
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: '{"success":true,"data":{},"msg":"鑾峰彇鎴愬姛"}'
-          schema:
-            type: string
-      security:
-      - ApiKeyAuth: []
-      summary: 鍒嗛〉鑾峰彇Product鍒楄〃
-      tags:
-      - Product
   /p/updateProduct:
     put:
       consumes:
@@ -4471,7 +4402,7 @@
       - application/json
       responses:
         "200":
-          description: 鍒嗛〉鑾峰彇鏉冮檺閲囪喘鍗曞垪琛�,杩斿洖鍖呮嫭鍒楄〃,鎬绘暟,椤电爜,姣忛〉鏁伴噺
+          description: 鍒嗛〉鑾峰彇閲囪喘鍗曞垪琛�,杩斿洖鍖呮嫭鍒楄〃,鎬绘暟,椤电爜,姣忛〉鏁伴噺
           schema:
             allOf:
             - $ref: '#/definitions/response.Response'
@@ -4483,7 +4414,34 @@
               type: object
       security:
       - ApiKeyAuth: []
-      summary: 鍒嗛〉鑾峰彇鏉冮檺閲囪喘鍗曞垪琛�
+      summary: 鍒嗛〉鑾峰彇閲囪喘鍗曞垪琛�
+      tags:
+      - Purchase
+  /purchase/submit/{id}:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: 閲囪喘鍗旾D
+        in: path
+        name: id
+        required: true
+        type: integer
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: 鎻愪氦閲囪喘鍗�
+          schema:
+            allOf:
+            - $ref: '#/definitions/response.Response'
+            - properties:
+                msg:
+                  type: string
+              type: object
+      security:
+      - ApiKeyAuth: []
+      summary: 鎻愪氦閲囪喘鍗�
       tags:
       - Purchase
   /s/changeSupplierStatus:

--
Gitblit v1.8.0