From b4400a06b5f801bc7a85320680d0b6c45c547ff0 Mon Sep 17 00:00:00 2001 From: wangpengfei <274878379@qq.com> Date: 星期五, 28 七月 2023 10:21:33 +0800 Subject: [PATCH] fix --- docs/docs.go | 698 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 666 insertions(+), 32 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 7f94009..5793111 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", @@ -1214,14 +1236,25 @@ } }, "/api/contract/list": { - "get": { + "post": { "produces": [ "application/json" ], "tags": [ "Contract" ], - "summary": "鑾峰彇鍚堝悓鍒楄〃", + "summary": "閿�鍞悎鍚屽垪琛�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetContractList" + } + } + ], "responses": { "200": { "description": "OK", @@ -2068,14 +2101,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", @@ -2575,14 +2619,25 @@ } }, "/api/masterOrder/list": { - "get": { + "post": { "produces": [ "application/json" ], "tags": [ "MasterOrder" ], - "summary": "涓昏鍗曞垪琛�", + "summary": "閿�鍞�诲崟鍒楄〃", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetMasterOrderList" + } + } + ], "responses": { "200": { "description": "OK", @@ -2739,19 +2794,42 @@ } }, "/api/orderManage/list": { - "get": { + "post": { "produces": [ "application/json" ], "tags": [ "OrderManage" ], - "summary": "宸ュ崟鍒楄〃", + "summary": "宸ュ崟绠$悊鍒楄〃", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetOrderManageList" + } + } + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/contextx.Response" + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.OrderManageResponse" + } + } + } + ] } } } @@ -2965,14 +3043,25 @@ } }, "/api/plan/list": { - "get": { + "post": { "produces": [ "application/json" ], "tags": [ "Plan" ], - "summary": "鑾峰彇璁″垝鍒楄〃", + "summary": "鐢熸垚璁″垝鍒楄〃", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetPlanList" + } + } + ], "responses": { "200": { "description": "OK", @@ -3361,7 +3450,7 @@ } }, "/api/quotation/list": { - "get": { + "post": { "produces": [ "application/json" ], @@ -3369,6 +3458,17 @@ "Quotation" ], "summary": "鎶ヤ环鍗曞垪琛�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetQuotationList" + } + } + ], "responses": { "200": { "description": "OK", @@ -4340,14 +4440,25 @@ } }, "/api/saleChance/list": { - "get": { + "post": { "produces": [ "application/json" ], "tags": [ "SaleChance" ], - "summary": "鑾峰彇閿�鍞満浼氬垪琛�", + "summary": "閿�鍞満浼氬垪琛�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetSaleChanceList" + } + } + ], "responses": { "200": { "description": "OK", @@ -4697,14 +4808,25 @@ } }, "/api/salesDetails/list": { - "get": { + "post": { "produces": [ "application/json" ], "tags": [ "SalesDetails" ], - "summary": "鑾峰彇閿�鍞槑缁嗗垪琛�", + "summary": "閿�鍞槑缁嗗崟鍒楄〃", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetSalesDetailsList" + } + } + ], "responses": { "200": { "description": "OK", @@ -4816,14 +4938,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", @@ -4935,14 +5068,25 @@ } }, "/api/salesRefund/list": { - "get": { + "post": { "produces": [ "application/json" ], "tags": [ "SalesRefund" ], - "summary": "閿�鍞��娆惧垪琛�", + "summary": "閿�鍞��娆惧崟鍒楄〃", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetSalesRefundList" + } + } + ], "responses": { "200": { "description": "OK", @@ -5054,14 +5198,25 @@ } }, "/api/salesReturn/list": { - "get": { + "post": { "produces": [ "application/json" ], "tags": [ "SalesReturn" ], - "summary": "鑾峰彇閿�鍞��璐у垪琛�", + "summary": "閿�鍞��璐у崟鍒楄〃", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetSalesReturnList" + } + } + ], "responses": { "200": { "description": "OK", @@ -5530,14 +5685,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", @@ -5887,7 +6053,7 @@ } }, "/api/serviceFeeManage/list": { - "get": { + "post": { "produces": [ "application/json" ], @@ -5895,6 +6061,17 @@ "ServiceFeeManage" ], "summary": "鏈嶅姟璐圭鐞嗗垪琛�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetServiceFeeManageList" + } + } + ], "responses": { "200": { "description": "OK", @@ -6006,14 +6183,25 @@ } }, "/api/serviceFollowup/list": { - "get": { + "post": { "produces": [ "application/json" ], "tags": [ "ServiceFollowup" ], - "summary": "鏈嶅姟璺熻繘鍒楄〃", + "summary": "鍥炶鍗曠鐞嗗垪琛�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetServiceFollowupList" + } + } + ], "responses": { "200": { "description": "OK", @@ -6351,14 +6539,25 @@ } }, "/api/subOrder/list": { - "get": { + "post": { "produces": [ "application/json" ], "tags": [ "SubOrder" ], - "summary": "鑾峰彇瀛愯鍗曞垪琛�", + "summary": "閿�鍞瓙鍗曞垪琛�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetSubOrderList" + } + } + ], "responses": { "200": { "description": "OK", @@ -6800,6 +6999,36 @@ "required": true, "schema": { "$ref": "#/definitions/request.AddVetting" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/vetting/update": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "Vetting" + ], + "summary": "鏇存柊瀹℃壒", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateVetting" } } ], @@ -7491,6 +7720,44 @@ } } }, + "model.OrderManage": { + "type": "object", + "properties": { + "client": { + "$ref": "#/definitions/model.Client" + }, + "clientId": { + "type": "integer" + }, + "contactId": { + "type": "integer" + }, + "file": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "number": { + "type": "string" + }, + "orderType": { + "type": "integer" + }, + "problemDescription": { + "type": "string" + }, + "reportSourceId": { + "type": "integer" + }, + "sourceSheet": { + "type": "integer" + } + } + }, "model.OrderType": { "type": "object", "properties": { @@ -7891,6 +8158,15 @@ }, "id": { "type": "integer" + }, + "logisticCompany": { + "type": "string" + }, + "logisticCost": { + "type": "number" + }, + "logisticNumber": { + "type": "string" }, "memberId": { "type": "integer" @@ -9664,6 +9940,278 @@ } } }, + "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.GetContractList": { + "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.GetMasterOrderList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + } + } + }, + "request.GetOrderManageList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + } + } + }, + "request.GetPlanList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + } + } + }, + "request.GetQuotationList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + } + } + }, + "request.GetSaleChanceList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + } + } + }, + "request.GetSalesDetailsList": { + "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.GetSalesRefundList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + } + } + }, + "request.GetSalesReturnList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + } + } + }, + "request.GetServiceContractList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + } + } + }, + "request.GetServiceFeeManageList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + } + } + }, + "request.GetServiceFollowupList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + } + } + }, + "request.GetSubOrderList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + } + } + }, "request.GetUserList": { "type": "object", "properties": { @@ -9796,6 +10344,15 @@ "type": "string" }, "deliveryDate": { + "type": "string" + }, + "logisticCompany": { + "type": "string" + }, + "logisticCost": { + "type": "number" + }, + "logisticNumber": { "type": "string" }, "memberId": { @@ -11670,6 +12227,21 @@ } } }, + "request.UpdateVetting": { + "type": "object", + "required": [ + "id", + "status" + ], + "properties": { + "id": { + "type": "integer" + }, + "status": { + "type": "integer" + } + } + }, "response.AccountIdResponse": { "type": "object", "properties": { @@ -11717,6 +12289,9 @@ "response.ClientResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -11750,6 +12325,9 @@ "response.ContactResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -11761,6 +12339,9 @@ "response.ContractResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -12077,6 +12658,9 @@ "response.FollowRecordResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -12135,6 +12719,9 @@ "response.MasterOrderResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -12150,6 +12737,20 @@ "type": "array", "items": { "$ref": "#/definitions/model.Menu" + } + } + } + }, + "response.OrderManageResponse": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.OrderManage" } } } @@ -12183,6 +12784,9 @@ "response.PlanResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -12216,6 +12820,9 @@ "response.QuotationResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -12293,6 +12900,9 @@ "response.SaleChanceResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -12326,6 +12936,9 @@ "response.SalesDetailsResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -12337,6 +12950,9 @@ "response.SalesLeadsResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -12348,6 +12964,9 @@ "response.SalesRefundResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -12359,6 +12978,9 @@ "response.SalesReturnResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -12425,6 +13047,9 @@ "response.ServiceContractsResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -12436,6 +13061,9 @@ "response.ServiceFeeManageResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -12447,6 +13075,9 @@ "response.ServiceFollowupResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -12469,6 +13100,9 @@ "response.SubOrderResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { -- Gitblit v1.8.0