From 5fa1de02759b9646e8987312736699755990e960 Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期五, 13 十月 2023 15:30:22 +0800 Subject: [PATCH] bug修改 --- docs/docs.go | 199 ++++++++++++++++++++++++++++++------------------- 1 files changed, 120 insertions(+), 79 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index ed04f35..795c9c9 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -3360,7 +3360,7 @@ } }, "/api/invoice/list": { - "get": { + "post": { "produces": [ "application/json" ], @@ -3370,43 +3370,13 @@ "summary": "鑾峰彇閿�鍞彂绁ㄥ垪琛�", "parameters": [ { - "type": "string", - "name": "keyword", - "in": "query" - }, - { - "enum": [ - "" - ], - "type": "string", - "x-enum-varnames": [ - "InvoiceKeywordCustomerName" - ], - "name": "keywordType", - "in": "query" - }, - { - "type": "integer", - "description": "椤电爜", - "name": "page", - "in": "query" - }, - { - "type": "integer", - "description": "姣忛〉澶у皬", - "name": "pageSize", - "in": "query" - }, - { - "enum": [ - "" - ], - "type": "string", - "x-enum-varnames": [ - "InvoiceQueryClassExpireLessThen60Days" - ], - "name": "queryClass", - "in": "query" + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetInvoiceList" + } } ], "responses": { @@ -5569,6 +5539,12 @@ "parameters": [ { "type": "integer", + "description": "瀹㈡埛id", + "name": "clientId", + "in": "query" + }, + { + "type": "integer", "description": "椤电爜", "name": "page", "in": "query" @@ -5607,6 +5583,7 @@ "ReceiptSourceTypeCollectionPlan", "ReceiptSourceTypeChuKuDan" ], + "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級", "name": "sourceType", "in": "query" } @@ -7877,7 +7854,7 @@ } }, "/api/serviceCollectionPlan/list": { - "get": { + "post": { "produces": [ "application/json" ], @@ -7887,28 +7864,13 @@ "summary": "鑾峰彇鏀舵璁″垝鍒楄〃", "parameters": [ { - "type": "integer", - "name": "sourceId", - "in": "query", - "required": true - }, - { - "enum": [ - 1, - 2 - ], - "type": "integer", - "x-enum-comments": { - "CollectionSourceTypeSaleDetails": "閿�鍞槑缁�", - "CollectionSourceTypeServiceContract": "鏈嶅姟鍚堝悓" - }, - "x-enum-varnames": [ - "CollectionSourceTypeSaleDetails", - "CollectionSourceTypeServiceContract" - ], - "name": "sourceType", - "in": "query", - "required": true + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetServiceCollectionPlanList" + } } ], "responses": { @@ -10441,24 +10403,6 @@ "FaqQueryClassExpireLessThen60Days" ] }, - "constvar.InvoiceKeywordType": { - "type": "string", - "enum": [ - "" - ], - "x-enum-varnames": [ - "InvoiceKeywordCustomerName" - ] - }, - "constvar.InvoiceQueryClass": { - "type": "string", - "enum": [ - "" - ], - "x-enum-varnames": [ - "InvoiceQueryClassExpireLessThen60Days" - ] - }, "constvar.InvoiceSourceType": { "type": "integer", "enum": [ @@ -11335,6 +11279,9 @@ "type": "integer" }, "codeStandID": { + "type": "string" + }, + "contractName": { "type": "string" }, "created_at": { @@ -13728,6 +13675,10 @@ "description": "缂栫爜id", "type": "string" }, + "contractName": { + "description": "鍚堝悓鍚嶇О", + "type": "string" + }, "file": { "type": "string" }, @@ -15582,6 +15533,10 @@ "request.GetContactList": { "type": "object", "properties": { + "clientId": { + "description": "瀹㈡埛id", + "type": "integer" + }, "page": { "description": "椤电爜", "type": "integer" @@ -15652,6 +15607,30 @@ "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"topic\": \"璺熻繘涓婚\", \"member_name\": \"璺熻繘浜篭", \"client_name\": \"瀹㈡埛鍚嶇О\", \"client_status\": \"瀹㈡埛鐘舵�乗", \"follow_time\": \"璺熻繘鏃堕棿\", \"next_follow_time\": \"涓嬫璺熻繘鏃堕棿\", \"record\": \"璺熻繘璁板綍\", \"phone\": \"鑱旂郴浜虹數璇漒", \"contact_name\": \"鑱旂郴浜哄鍚峔", \"sales_leads_id\": \"閿�鍞嚎绱d\", \"sale_chance_id\": \"閿�鍞満浼歩d\"}", "type": "object", "additionalProperties": true + } + } + }, + "request.GetInvoiceList": { + "type": "object", + "properties": { + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + }, + "sourceId": { + "type": "integer" + }, + "sourceType": { + "description": "婧愬崟绫诲瀷(1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓)", + "allOf": [ + { + "$ref": "#/definitions/constvar.InvoiceSourceType" + } + ] } } }, @@ -15744,6 +15723,10 @@ "request.GetSalesDetailsList": { "type": "object", "properties": { + "clientId": { + "description": "瀹㈡埛id", + "type": "integer" + }, "keyword": { "type": "string" }, @@ -15756,6 +15739,10 @@ }, "pageSize": { "description": "姣忛〉澶у皬", + "type": "integer" + }, + "saleChanceId": { + "description": "閿�鍞満浼歩d", "type": "integer" } } @@ -15794,12 +15781,19 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "sourceId": { + "type": "integer" } } }, "request.GetSalesReturnList": { "type": "object", "properties": { + "clientId": { + "description": "瀹㈡埛id", + "type": "integer" + }, "keyword": { "type": "string" }, @@ -15813,12 +15807,43 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "sourceId": { + "description": "婧愬崟id", + "type": "integer" + }, + "sourceType": { + "description": "婧愬崟绫诲瀷锛�1閿�鍞槑缁嗭級", + "allOf": [ + { + "$ref": "#/definitions/constvar.SalesReturnSourceType" + } + ] + } + } + }, + "request.GetServiceCollectionPlanList": { + "type": "object", + "required": [ + "sourceId", + "sourceType" + ], + "properties": { + "sourceId": { + "type": "integer" + }, + "sourceType": { + "$ref": "#/definitions/constvar.CollectionSourceType" } } }, "request.GetServiceContractList": { "type": "object", "properties": { + "contactId": { + "description": "鑱旂郴浜篿d", + "type": "integer" + }, "keyword": { "type": "string" }, @@ -15835,6 +15860,18 @@ }, "queryClass": { "$ref": "#/definitions/constvar.ServiceContractQueryClass" + }, + "quotationId": { + "description": "鎶ヤ环鍗昳d", + "type": "integer" + }, + "saleChanceId": { + "description": "閿�鍞満浼歩d", + "type": "integer" + }, + "salesDetailsId": { + "description": "鍚堝悓璁㈠崟id", + "type": "integer" } } }, @@ -16719,6 +16756,10 @@ "description": "缂栫爜id", "type": "string" }, + "contractName": { + "description": "鍚堝悓鍚嶇О", + "type": "string" + }, "file": { "type": "string" }, -- Gitblit v1.8.0