From 47000c8d61e28bc590d085753c8b9ceff8546121 Mon Sep 17 00:00:00 2001
From: jiangshuai <291802688@qq.com>
Date: 星期三, 08 十一月 2023 14:23:54 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/aps/WMS

---
 docs/swagger.yaml |   48 +++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 47 insertions(+), 1 deletions(-)

diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index 5a13e9c..b2a6ba4 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -244,6 +244,10 @@
     type: object
   models.Location:
     properties:
+      children:
+        items:
+          $ref: '#/definitions/models.Location'
+        type: array
       companyId:
         description: 鍏徃id
         type: integer
@@ -920,6 +924,22 @@
       wareHouseCode:
         type: string
     type: object
+  request.GetLocationList:
+    properties:
+      jointName:
+        description: 鎷兼帴鍚嶇О
+        type: string
+      keyWord:
+        type: string
+      page:
+        description: 椤电爜
+        type: integer
+      pageSize:
+        description: 姣忛〉澶у皬
+        type: integer
+      type:
+        type: integer
+    type: object
   request.GetProductList:
     properties:
       categoryId:
@@ -937,12 +957,19 @@
     properties:
       keyWord:
         type: string
+      locationId:
+        type: integer
       page:
         description: 椤电爜
         type: integer
       pageSize:
         description: 姣忛〉澶у皬
         type: integer
+      productId:
+        type: string
+      type:
+        description: 绫诲瀷:bh=琛ヨ揣
+        type: string
     type: object
   request.GetRuleList:
     properties:
@@ -1683,7 +1710,7 @@
         name: object
         required: true
         schema:
-          $ref: '#/definitions/request.GetProductList'
+          $ref: '#/definitions/request.GetLocationList'
       produces:
       - application/json
       responses:
@@ -1701,6 +1728,25 @@
       summary: 鑾峰彇浣嶇疆鍒楄〃
       tags:
       - 浣嶇疆
+  /api-wms/v1/location/getLocationTreeList:
+    get:
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: 鎴愬姛
+          schema:
+            allOf:
+            - $ref: '#/definitions/util.ResponseList'
+            - properties:
+                data:
+                  items:
+                    $ref: '#/definitions/models.Location'
+                  type: array
+              type: object
+      summary: 鑾峰彇浣嶇疆鍒楄〃鏍�
+      tags:
+      - 浣嶇疆
   /api-wms/v1/location/updateLocation:
     post:
       parameters:

--
Gitblit v1.8.0