From 74f698acff298c45e436824e15c0da3c93b7926e Mon Sep 17 00:00:00 2001 From: wangpengfei <274878379@qq.com> Date: 星期二, 25 七月 2023 20:15:19 +0800 Subject: [PATCH] add --- docs/docs.go | 197 +++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 190 insertions(+), 7 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 7f94009..cabc262 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -500,14 +500,25 @@ } }, "/api/client/list": { - "get": { + "post": { "produces": [ "application/json" ], "tags": [ "Client" ], - "summary": "鑾峰彇瀹㈡埛鍒楄〃", + "summary": "瀹㈡埛鍒楄〃", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetClientList" + } + } + ], "responses": { "200": { "description": "OK", @@ -1095,7 +1106,7 @@ } }, "/api/contact/list": { - "get": { + "post": { "produces": [ "application/json" ], @@ -1103,6 +1114,17 @@ "Contact" ], "summary": "鑱旂郴浜哄垪琛�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetContactList" + } + } + ], "responses": { "200": { "description": "OK", @@ -2068,14 +2090,25 @@ } }, "/api/followRecord/list": { - "get": { + "post": { "produces": [ "application/json" ], "tags": [ "FollowRecord" ], - "summary": "鑾峰彇璺熻繘璁板綍鍒楄〃", + "summary": "璺熻繘璁板綍鍒楄〃", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetFollowRecordList" + } + } + ], "responses": { "200": { "description": "OK", @@ -4816,14 +4849,25 @@ } }, "/api/salesLeads/list": { - "get": { + "post": { "produces": [ "application/json" ], "tags": [ "SalesLeads" ], - "summary": "鑾峰彇閿�鍞嚎绱㈠垪琛�", + "summary": "閿�鍞嚎绱㈠垪琛�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetSalesLeadsList" + } + } + ], "responses": { "200": { "description": "OK", @@ -6812,6 +6856,36 @@ } } } + }, + "/api/vetting/update": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "Vetting" + ], + "summary": "鏇存柊瀹℃壒", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateVetting" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } } }, "definitions": { @@ -7891,6 +7965,15 @@ }, "id": { "type": "integer" + }, + "logisticCompany": { + "type": "string" + }, + "logisticCost": { + "type": "number" + }, + "logisticNumber": { + "type": "string" }, "memberId": { "type": "integer" @@ -9664,6 +9747,70 @@ } } }, + "request.GetClientList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + } + } + }, + "request.GetContactList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + } + } + }, + "request.GetFollowRecordList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + } + } + }, + "request.GetSalesLeadsList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + } + } + }, "request.GetUserList": { "type": "object", "properties": { @@ -9796,6 +9943,15 @@ "type": "string" }, "deliveryDate": { + "type": "string" + }, + "logisticCompany": { + "type": "string" + }, + "logisticCost": { + "type": "number" + }, + "logisticNumber": { "type": "string" }, "memberId": { @@ -11670,6 +11826,21 @@ } } }, + "request.UpdateVetting": { + "type": "object", + "required": [ + "id", + "status" + ], + "properties": { + "id": { + "type": "integer" + }, + "status": { + "type": "integer" + } + } + }, "response.AccountIdResponse": { "type": "object", "properties": { @@ -11717,6 +11888,9 @@ "response.ClientResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -11750,6 +11924,9 @@ "response.ContactResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -12077,6 +12254,9 @@ "response.FollowRecordResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -12337,6 +12517,9 @@ "response.SalesLeadsResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { -- Gitblit v1.8.0