From e3a52e666b41c585c5ee0d8072f4c03cc6c229a9 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期六, 25 十一月 2023 17:53:14 +0800
Subject: [PATCH] query

---
 docs/swagger.yaml |   40 +++++++++++++++++++---------------------
 1 files changed, 19 insertions(+), 21 deletions(-)

diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index 68b35f7..631d3e3 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -466,6 +466,9 @@
       proceduresId:
         description: procedures琛ㄧ殑id
         type: integer
+      reportAmount:
+        description: 鎶ュ伐鏁伴噺
+        type: integer
       startTime:
         type: integer
       updatedAt:
@@ -511,6 +514,8 @@
     properties:
       channel:
         type: integer
+      procedureId:
+        type: integer
     type: object
   request.QueryType:
     enum:
@@ -522,22 +527,6 @@
     - QueryTypeUnFinish
     - QueryTypeToday
     - QueryTypeFinished
-  request.ReportWork:
-    properties:
-      procedureId:
-        description: 宸ュ簭id
-        type: integer
-      reportAmount:
-        description: 鎶ュ伐鏁伴噺
-        type: integer
-      workerID:
-        description: 鎶ュ憡鑰卛d
-        type: string
-    required:
-    - procedureId
-    - reportAmount
-    - workerID
-    type: object
   request.ReportWorkList:
     properties:
       page:
@@ -1074,12 +1063,21 @@
   /v1/reportWork/report:
     post:
       parameters:
-      - description: 鏌ヨ鍙傛暟
-        in: body
-        name: object
+      - description: 宸ュ簭id
+        in: query
+        name: procedureId
         required: true
-        schema:
-          $ref: '#/definitions/request.ReportWork'
+        type: integer
+      - description: 鎶ュ伐鏁伴噺
+        in: query
+        name: reportAmount
+        required: true
+        type: integer
+      - description: 鎶ュ憡鑰卛d
+        in: query
+        name: workerID
+        required: true
+        type: string
       produces:
       - application/json
       responses:

--
Gitblit v1.8.0