From 8e216cfa89d3bcd6f010376ecb4f2f0e90724ea0 Mon Sep 17 00:00:00 2001
From: jiangshuai <291802688@qq.com>
Date: 星期一, 13 十一月 2023 14:38:12 +0800
Subject: [PATCH] 取消接口bug

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

diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index 00a3b09..7346a4a 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -136,8 +136,10 @@
     - 2
     - 3
     - 4
+    - 5
     type: integer
     x-enum-comments:
+      OperationStatus_Cancel: 瀹屾垚
       OperationStatus_Draft: 鑽夌
       OperationStatus_Finish: 瀹屾垚
       OperationStatus_Ready: 灏辩华
@@ -147,6 +149,7 @@
     - OperationStatus_Waiting
     - OperationStatus_Ready
     - OperationStatus_Finish
+    - OperationStatus_Cancel
   constvar.OrderCreation:
     enum:
     - 1
@@ -2042,6 +2045,24 @@
       summary: 淇敼搴撳瓨鐩樼偣淇℃伅
       tags:
       - 搴撳瓨鐩樼偣
+  /api-wms/v1/operation/cancel/{id}:
+    put:
+      parameters:
+      - description: id
+        in: path
+        name: id
+        required: true
+        type: integer
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: 鎴愬姛
+          schema:
+            $ref: '#/definitions/util.Response'
+      summary: 鍙栨秷
+      tags:
+      - 鍏ュ簱/鍑哄簱
   /api-wms/v1/operation/finish/{id}:
     put:
       parameters:
@@ -2329,6 +2350,24 @@
       summary: 娣诲姞浜у搧绫诲瀷
       tags:
       - 浜у搧绫诲瀷
+  /api-wms/v1/product/cancelDisuse/{id}:
+    put:
+      parameters:
+      - description: id
+        in: path
+        name: id
+        required: true
+        type: integer
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: 鎴愬姛
+          schema:
+            $ref: '#/definitions/util.Response'
+      summary: 鍙栨秷鎶ュ簾
+      tags:
+      - 浜у搧
   /api-wms/v1/product/deleteProduct/{id}:
     delete:
       parameters:

--
Gitblit v1.8.0