From 4df9a15d20b9e4ef25cd795a583e64c61943c915 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期四, 03 八月 2023 11:17:45 +0800 Subject: [PATCH] 添加ignore --- docs/docs.go | 227 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 217 insertions(+), 10 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 73dae90..1eb2d39 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -135,6 +135,36 @@ } } }, + "/api/assign/assign": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "Assign" + ], + "summary": "瀹℃牳", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.Assign" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/authority/add": { "post": { "security": [ @@ -471,7 +501,7 @@ } } }, - "/api/client/delete/{id}": { + "/api/client/delete": { "delete": { "produces": [ "application/json" @@ -482,11 +512,13 @@ "summary": "鍒犻櫎瀹㈡埛", "parameters": [ { - "type": "integer", - "description": "瀹㈡埛ID", - "name": "id", - "in": "path", - "required": true + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.DeleteClient" + } } ], "responses": { @@ -2108,7 +2140,7 @@ "tags": [ "FollowRecord" ], - "summary": "璺熻繘璁板綍鍒楄〃", + "summary": "鍥炶璁板綍鍒楄〃", "parameters": [ { "description": "鍙傛暟", @@ -5685,14 +5717,25 @@ } }, "/api/serviceContract/list": { - "get": { + "post": { "produces": [ "application/json" ], "tags": [ "ServiceContract" ], - "summary": "鏈嶅姟鍚堝悓鍒楄〃", + "summary": "鐢熸垚璁″垝鍒楄〃", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetServiceContractList" + } + } + ], "responses": { "200": { "description": "OK", @@ -7057,6 +7100,111 @@ "SalesStatusFail", "SalesStatusLevelUptoClient", "SalesStatusLevelUptoClientAndSalesChance" + ] + }, + "constvar.ServiceContractKeywordType": { + "type": "string", + "enum": [ + "鏈嶅姟鍚堝悓缂栧彿", + "瀹㈡埛鍚嶇О", + "绛剧害鏃ユ湡", + "鍚堝悓绫诲瀷", + "鍚堝悓鐘舵��", + "璐熻矗浜�", + "浜у搧鍚嶇О", + "鏈嶅姟寮�濮嬫棩", + "鏈嶅姟鍒版湡鏃�", + "浠风◣鍚堣" + ], + "x-enum-varnames": [ + "ServiceContractKeywordContractNo", + "ServiceContractKeywordCustomerName", + "ServiceContractKeywordContractDate", + "ServiceContractKeywordContractType", + "ServiceContractKeywordContractStatus", + "ServiceContractKeywordPrincipal", + "ServiceContractKeywordProductName", + "ServiceContractKeywordServiceBeginDate", + "ServiceContractKeywordServiceEndDate", + "ServiceContractKeywordServiceTotalPrice" + ] + }, + "constvar.ServiceContractQueryClass": { + "type": "string", + "enum": [ + "30澶╁悗杩囨湡", + "60澶╁悗杩囨湡", + "宸茶繃鏈�15澶�", + "宸茶繃鏈�60澶�" + ], + "x-enum-varnames": [ + "ServiceContractQueryClassExpireAfter30Day", + "ServiceContractQueryClassExpireAfter60Day", + "ServiceContractQueryClassExpiredBefore15Day", + "ServiceContractQueryClassExpiredBefore60Day" + ] + }, + "constvar.ServiceFeeKeywordType": { + "type": "string", + "enum": [ + "瀹㈡埛鍚嶇О", + "瀹㈡埛绫诲瀷", + "閿�鍞礋璐d汉", + "瀹㈡埛瑙勬ā", + "閲嶈绾у埆", + "瀹㈡埛缂栧彿", + "瀹㈡埛鐘舵��", + "浜у搧鍚嶇О", + "鏈嶅姟鍒版湡鏃�" + ], + "x-enum-varnames": [ + "ServiceFeeKeywordCustomerName", + "ServiceFeeKeywordCustomerType", + "ServiceFeeKeywordSalesPrincipal", + "ServiceFeeKeywordCustomerScale", + "ServiceFeeKeywordClientLevel", + "ServiceFeeKeywordCustomerNo", + "ServiceFeeKeywordCustomerStatus", + "ServiceFeeKeywordProductName", + "ServiceFeeKeywordServiceEndDate" + ] + }, + "constvar.ServiceFeeQueryClass": { + "type": "string", + "enum": [ + "杩囨湡鏈弧60澶�", + "杩囨湡鏈弧30澶�", + "鍗冲皢杩囨湡60澶�", + "鍗冲皢杩囨湡30澶�", + "宸茶繃鏈�", + "鏃犳湇鍔�" + ], + "x-enum-varnames": [ + "ServiceFeeQueryClassExpireLessThen60Days", + "ServiceFeeQueryClassExpireLessThen30Days", + "ServiceFeeQueryClassExpireAboutTo60Day", + "ServiceFeeQueryClassExpireAboutTo30Day", + "ServiceFeeQueryClassExpired", + "ServiceFeeQueryClassNoService" + ] + }, + "constvar.ServiceFollowupKeywordType": { + "type": "string", + "enum": [ + "鍥炶鍗曠紪鍙�", + "瀹㈡埛鍚嶇О", + "鑱旂郴浜哄鍚�", + "瀹㈡埛鏈嶅姟鍗�", + "鍥炶浜�", + "婊℃剰搴�" + ], + "x-enum-varnames": [ + "ServiceFollowupKeywordFollowupNo", + "ServiceFollowupKeywordCustomerName", + "ServiceFollowupKeywordContactName", + "ServiceFollowupKeywordCustomerServiceNo", + "ServiceFollowupKeywordVisitor", + "ServiceFollowupKeywordSatisfactionDegree" ] }, "constvar.UserType": { @@ -9743,6 +9891,20 @@ } } }, + "request.Assign": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "member_id": { + "type": "integer" + }, + "type": { + "type": "string" + } + } + }, "request.CasbinInfo": { "type": "object", "properties": { @@ -9861,6 +10023,17 @@ "wechat": { "description": "寰俊鍙�", "type": "string" + } + } + }, + "request.DeleteClient": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer" + } } } }, @@ -10137,11 +10310,14 @@ } } }, - "request.GetServiceFeeManageList": { + "request.GetServiceContractList": { "type": "object", "properties": { "keyword": { "type": "string" + }, + "keywordType": { + "$ref": "#/definitions/constvar.ServiceContractKeywordType" }, "page": { "description": "椤电爜", @@ -10150,6 +10326,31 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "queryClass": { + "$ref": "#/definitions/constvar.ServiceContractQueryClass" + } + } + }, + "request.GetServiceFeeManageList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "keywordType": { + "$ref": "#/definitions/constvar.ServiceFeeKeywordType" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + }, + "queryClass": { + "$ref": "#/definitions/constvar.ServiceFeeQueryClass" } } }, @@ -10158,6 +10359,9 @@ "properties": { "keyword": { "type": "string" + }, + "keywordType": { + "$ref": "#/definitions/constvar.ServiceFollowupKeywordType" }, "page": { "description": "椤电爜", @@ -13020,6 +13224,9 @@ "response.ServiceContractsResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { -- Gitblit v1.8.0