From 17aaed743ab7a3520ec8eb9e4ab7c776ca807cdd Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期四, 12 十月 2023 20:43:16 +0800 Subject: [PATCH] bug修改 --- docs/docs.go | 176 ++++++++++++++++++++++++++++++++-------------------------- 1 files changed, 97 insertions(+), 79 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index ed04f35..c8d39d3 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": { @@ -10439,24 +10401,6 @@ ], "x-enum-varnames": [ "FaqQueryClassExpireLessThen60Days" - ] - }, - "constvar.InvoiceKeywordType": { - "type": "string", - "enum": [ - "" - ], - "x-enum-varnames": [ - "InvoiceKeywordCustomerName" - ] - }, - "constvar.InvoiceQueryClass": { - "type": "string", - "enum": [ - "" - ], - "x-enum-varnames": [ - "InvoiceQueryClassExpireLessThen60Days" ] }, "constvar.InvoiceSourceType": { @@ -15655,6 +15599,30 @@ } } }, + "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" + } + ] + } + } + }, "request.GetMasterOrderList": { "type": "object", "properties": { @@ -15757,6 +15725,10 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "saleChanceId": { + "description": "閿�鍞満浼歩d", + "type": "integer" } } }, @@ -15794,6 +15766,9 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "sourceId": { + "type": "integer" } } }, @@ -15813,12 +15788,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 +15841,18 @@ }, "queryClass": { "$ref": "#/definitions/constvar.ServiceContractQueryClass" + }, + "quotationId": { + "description": "鎶ヤ环鍗昳d", + "type": "integer" + }, + "saleChanceId": { + "description": "閿�鍞満浼歩d", + "type": "integer" + }, + "salesDetailsId": { + "description": "鍚堝悓璁㈠崟id", + "type": "integer" } } }, -- Gitblit v1.8.0