From aab066ab2d90d235848f67d4aac3b15c8f778b3c Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期六, 19 八月 2023 18:37:07 +0800
Subject: [PATCH] 增加获取完成进度接口

---
 docs/swagger.yaml |   35 ++++++++++++++++++++++++++++++++---
 1 files changed, 32 insertions(+), 3 deletions(-)

diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index 6a2ec4e..ea34318 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -262,6 +262,20 @@
         type: string
       value: {}
     type: object
+  response.ProcessParamsResponse:
+    properties:
+      number:
+        type: string
+      params:
+        items:
+          $ref: '#/definitions/response.ProcessParams'
+        type: array
+    type: object
+  response.ProductProgress:
+    properties:
+      finishNumber:
+        type: integer
+    type: object
   response.TaskData:
     properties:
       deviceName:
@@ -357,6 +371,23 @@
       summary: 鏇存柊plc閰嶇疆
       tags:
       - Config
+  /v1/plc/productProgress:
+    get:
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: 鎴愬姛
+          schema:
+            allOf:
+            - $ref: '#/definitions/contextx.Response'
+            - properties:
+                data:
+                  $ref: '#/definitions/response.ProductProgress'
+              type: object
+      summary: 鑾峰彇鐢熶骇杩涘害
+      tags:
+      - 鑾峰彇鍔ㄦ�佹暟鎹�
   /v1/plcBrand/add:
     post:
       parameters:
@@ -503,9 +534,7 @@
             - $ref: '#/definitions/contextx.Response'
             - properties:
                 data:
-                  items:
-                    $ref: '#/definitions/response.ProcessParams'
-                  type: array
+                  $ref: '#/definitions/response.ProcessParamsResponse'
               type: object
       summary: 浠诲姟寮�濮�
       tags:

--
Gitblit v1.8.0