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/docs.go | 185 +++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 166 insertions(+), 19 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 5c448f1..43895b8 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -664,6 +664,36 @@ } } }, + "/api/client/checkName": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "Client" + ], + "summary": "妫�鏌ュ鎴峰悕绉版槸鍚﹂噸澶�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.CheckClientName" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/client/delete": { "delete": { "produces": [ @@ -1490,6 +1520,37 @@ "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/contactInformation/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "ContactInformation" + ], + "summary": "鑱旂郴鏂瑰紡鍒楄〃", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.ContactInformationResponse" + } + } + } + ] } } } @@ -6716,6 +6777,36 @@ } } }, + "/api/salesDetails/delete": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "SalesDetails 閿�鍞槑缁�" + ], + "summary": "鎵归噺鍒犻櫎閿�鍞槑缁�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.CommonIds" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/salesDetails/delete/{id}": { "delete": { "produces": [ @@ -7763,15 +7854,15 @@ "tags": [ "ServiceContract" ], - "summary": "鍒犻櫎鏈嶅姟鍚堝悓", + "summary": "鎵归噺鍒犻櫎鏈嶅姟鍚堝悓", "parameters": [ { - "description": "鏌ヨ鍙傛暟", + "description": "鍙傛暟", "name": "object", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/request.DeleteServiceContract" + "$ref": "#/definitions/request.CommonIds" } } ], @@ -8395,12 +8486,12 @@ "application/json" ], "tags": [ - "鏈嶅姟鍗曠鐞�" + "鏈嶅姟鍗�" ], "summary": "鎵归噺鍒犻櫎鏈嶅姟鍗�", "parameters": [ { - "description": "鏌ヨ鍙傛暟", + "description": "鍙傛暟", "name": "object", "in": "body", "required": true, @@ -10263,6 +10354,29 @@ "SalesRefundKeywordPriceTotal" ] }, + "constvar.SalesReturnKeywordType": { + "type": "string", + "enum": [ + "閿�鍞��璐у崟缂栧彿", + "瀹㈡埛鍚嶇О", + "閫�娆炬棩鏈�", + "鐘舵��", + "閫�鍏ヤ粨搴�", + "搴旈��娆�", + "宸查��娆�", + "閿�鍞礋璐d汉" + ], + "x-enum-varnames": [ + "SalesReturnKeywordReturnNumber", + "SalesReturnKeywordClientName", + "SalesReturnKeywordReturnDate", + "SalesReturnKeywordStatus", + "SalesReturnKeywordRepository", + "SalesReturnKeywordAmountShouldRefund", + "SalesReturnKeywordAmountHasRefund", + "SalesReturnKeywordPrincipal" + ] + }, "constvar.SalesReturnSourceType": { "type": "integer", "enum": [ @@ -10913,6 +11027,17 @@ "type": "integer" }, "wechat": { + "type": "string" + } + } + }, + "model.ContactInformation": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { "type": "string" } } @@ -12066,7 +12191,7 @@ "type": "integer" }, "isInvoice": { - "type": "integer" + "type": "string" }, "member": { "$ref": "#/definitions/model.User" @@ -12123,6 +12248,14 @@ "$ref": "#/definitions/model.SalesReturnStatus" } ] + }, + "amountHasRefund": { + "description": "宸查��娆鹃噾棰�", + "type": "number" + }, + "amountShouldRefund": { + "description": "搴旈��娆鹃噾棰�", + "type": "number" }, "client": { "$ref": "#/definitions/model.Client" @@ -12333,6 +12466,9 @@ }, "id": { "type": "integer" + }, + "member": { + "$ref": "#/definitions/model.User" }, "memberId": { "type": "integer" @@ -14542,6 +14678,14 @@ } } }, + "request.CheckClientName": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + } + }, "request.CommonIds": { "type": "object", "required": [ @@ -14676,17 +14820,6 @@ } }, "request.DeleteSalesLeads": { - "type": "object", - "properties": { - "ids": { - "type": "array", - "items": { - "type": "integer" - } - } - } - }, - "request.DeleteServiceContract": { "type": "object", "properties": { "ids": { @@ -14957,7 +15090,7 @@ "description": "姣忛〉澶у皬", "type": "integer" }, - "searchMap": { + "search_map": { "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"sale_chance_id\": 閿�鍞嚎绱d, \"client_name\": \"瀹㈡埛鍚嶇О\", \"member_name\": \"閿�鍞礋璐d汉\", \"contact_name\": \"鑱旂郴浜篭", \"validity_date\": \"鏈夋晥鏈焅"}", "type": "object", "additionalProperties": true @@ -15043,6 +15176,9 @@ "properties": { "keyword": { "type": "string" + }, + "keywordType": { + "$ref": "#/definitions/constvar.SalesReturnKeywordType" }, "page": { "description": "椤电爜", @@ -15387,7 +15523,7 @@ "type": "integer" }, "isInvoice": { - "type": "integer" + "type": "string" }, "memberId": { "type": "integer" @@ -17841,6 +17977,17 @@ } } }, + "response.ContactInformationResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.ContactInformation" + } + } + } + }, "response.ContactResponse": { "type": "object", "properties": { -- Gitblit v1.8.0