From 642b32ac1e86f596a0348ba230d3ba6822832e96 Mon Sep 17 00:00:00 2001 From: wangpengfei <274878379@qq.com> Date: 星期四, 13 七月 2023 14:13:18 +0800 Subject: [PATCH] add --- docs/swagger.yaml | 171 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 171 insertions(+), 0 deletions(-) diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 490ca68..4a14862 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -723,6 +723,37 @@ typeId: type: integer type: object + model.ServiceFollowup: + properties: + clientId: + type: integer + contactId: + type: integer + file: + type: string + id: + type: integer + isVisit: + type: integer + memberId: + type: integer + number: + type: string + oldMemberId: + type: integer + planId: + type: integer + remark: + type: string + satisfaction: + type: integer + serviceId: + type: integer + solveRate: + type: integer + timelyRate: + type: integer + type: object model.SubOrder: properties: clientId: @@ -1247,6 +1278,35 @@ terms: type: string typeId: + type: integer + type: object + request.AddServiceFollowup: + properties: + clientId: + type: integer + contactId: + type: integer + file: + type: string + isVisit: + type: integer + memberId: + type: integer + number: + type: string + oldMemberId: + type: integer + planId: + type: integer + remark: + type: string + satisfaction: + type: integer + serviceId: + type: integer + solveRate: + type: integer + timelyRate: type: integer type: object request.AddStatus: @@ -2275,6 +2335,37 @@ typeId: type: integer type: object + request.UpdateServiceFollowup: + properties: + clientId: + type: integer + contactId: + type: integer + file: + type: string + id: + type: integer + isVisit: + type: integer + memberId: + type: integer + number: + type: string + oldMemberId: + type: integer + planId: + type: integer + remark: + type: string + satisfaction: + type: integer + serviceId: + type: integer + solveRate: + type: integer + timelyRate: + type: integer + type: object request.UpdateStatus: properties: id: @@ -2524,6 +2615,13 @@ list: items: $ref: '#/definitions/model.ServiceContract' + type: array + type: object + response.ServiceFollowupResponse: + properties: + list: + items: + $ref: '#/definitions/model.ServiceFollowup' type: array type: object response.SubOrderResponse: @@ -4905,6 +5003,79 @@ summary: 鏇存柊鏈嶅姟鍚堝悓 tags: - ServiceContract + /api/serviceFollowup/add: + post: + parameters: + - description: 鏌ヨ鍙傛暟 + in: body + name: object + required: true + schema: + $ref: '#/definitions/request.AddServiceFollowup' + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/contextx.Response' + summary: 娣诲姞鏈嶅姟璺熻繘 + tags: + - ServiceFollowup + /api/serviceFollowup/delete/{id}: + delete: + parameters: + - description: 鏌ヨ鍙傛暟 + in: path + name: id + required: true + type: integer + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/contextx.Response' + summary: 鍒犻櫎鏈嶅姟璺熻繘 + tags: + - ServiceFollowup + /api/serviceFollowup/list: + get: + produces: + - application/json + responses: + "200": + description: OK + schema: + allOf: + - $ref: '#/definitions/contextx.Response' + - properties: + data: + $ref: '#/definitions/response.ServiceFollowupResponse' + type: object + summary: 鏈嶅姟璺熻繘鍒楄〃 + tags: + - ServiceFollowup + /api/serviceFollowup/update: + put: + parameters: + - description: 鏌ヨ鍙傛暟 + in: body + name: object + required: true + schema: + $ref: '#/definitions/request.UpdateServiceFollowup' + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/contextx.Response' + summary: 鏇存柊鏈嶅姟璺熻繘 + tags: + - ServiceFollowup /api/status/add: post: parameters: -- Gitblit v1.8.0