From 2c53a4e2c7ededc1f07324d797430e8d4a0607a1 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期二, 15 八月 2023 20:33:41 +0800 Subject: [PATCH] merge --- docs/swagger.yaml | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++---------- 1 files changed, 50 insertions(+), 10 deletions(-) diff --git a/docs/swagger.yaml b/docs/swagger.yaml index cafe058..1257ed5 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -3141,6 +3141,15 @@ name: type: string type: object + request.CommonIds: + properties: + ids: + items: + type: integer + type: array + required: + - ids + type: object request.Contact: properties: birthday: @@ -3225,13 +3234,6 @@ type: array type: object request.DeleteSalesLeads: - properties: - ids: - items: - type: integer - type: array - type: object - request.DeleteServiceContract: properties: ids: items: @@ -10095,6 +10097,25 @@ summary: 娣诲姞閿�鍞槑缁� tags: - SalesDetails + /api/salesDetails/delete: + delete: + parameters: + - description: 鍙傛暟 + in: body + name: object + required: true + schema: + $ref: '#/definitions/request.CommonIds' + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/contextx.Response' + summary: 鎵归噺鍒犻櫎閿�鍞槑缁� + tags: + - SalesDetails 閿�鍞槑缁� /api/salesDetails/delete/{id}: delete: parameters: @@ -10737,12 +10758,12 @@ /api/serviceContract/delete: delete: parameters: - - description: 鏌ヨ鍙傛暟 + - description: 鍙傛暟 in: body name: object required: true schema: - $ref: '#/definitions/request.DeleteServiceContract' + $ref: '#/definitions/request.CommonIds' produces: - application/json responses: @@ -10750,7 +10771,7 @@ description: OK schema: $ref: '#/definitions/contextx.Response' - summary: 鍒犻櫎鏈嶅姟鍚堝悓 + summary: 鎵归噺鍒犻櫎鏈嶅姟鍚堝悓 tags: - ServiceContract /api/serviceContract/list: @@ -11123,6 +11144,25 @@ summary: 娣诲姞鏈嶅姟鍗� tags: - 鏈嶅姟鍗曠鐞� + /api/serviceOrder/delete: + delete: + parameters: + - description: 鍙傛暟 + in: body + name: object + required: true + schema: + $ref: '#/definitions/request.CommonIds' + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/contextx.Response' + summary: 鎵归噺鍒犻櫎鏈嶅姟鍗� + tags: + - 鏈嶅姟鍗� /api/serviceOrder/delete/{id}: delete: parameters: -- Gitblit v1.8.0