From 2267c97ab1cbbe94edcc221e960084fc63d52afe Mon Sep 17 00:00:00 2001 From: wangpengfei <274878379@qq.com> Date: 星期三, 26 七月 2023 10:19:49 +0800 Subject: [PATCH] fix fix file name --- docs/docs.go | 1662 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 1,605 insertions(+), 57 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index c6d453c..73dae90 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -16,6 +16,125 @@ "host": "{{.Host}}", "basePath": "{{.BasePath}}", "paths": { + "/api/accountId/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "AccountId" + ], + "summary": "娣诲姞璐︽埛", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddAccountId" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/accountId/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "AccountId" + ], + "summary": "鍒犻櫎璐︽埛", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/accountId/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "AccountId" + ], + "summary": "鑾峰彇璐︽埛鍒楄〃", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.AccountIdResponse" + } + } + } + ] + } + } + } + } + }, + "/api/accountId/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "AccountId" + ], + "summary": "鏇存柊璐︽埛", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateAccountIds" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/authority/add": { "post": { "security": [ @@ -381,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", @@ -976,7 +1106,7 @@ } }, "/api/contact/list": { - "get": { + "post": { "produces": [ "application/json" ], @@ -984,6 +1114,17 @@ "Contact" ], "summary": "鑱旂郴浜哄垪琛�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetContactList" + } + } + ], "responses": { "200": { "description": "OK", @@ -1095,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", @@ -1263,6 +1415,125 @@ "required": true, "schema": { "$ref": "#/definitions/request.UpdateCountry" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/currency/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "Currency" + ], + "summary": "娣诲姞甯佺", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddCurrency" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/currency/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "Currency" + ], + "summary": "鍒犻櫎甯佺", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/currency/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "Currency" + ], + "summary": "鑾峰彇甯佺鍒楄〃", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.CurrencyResponse" + } + } + } + ] + } + } + } + } + }, + "/api/currency/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "Currency" + ], + "summary": "鏇存柊甯佺", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateCurrencys" } } ], @@ -1830,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", @@ -2337,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", @@ -2501,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" + } + } + } + ] } } } @@ -2727,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", @@ -3123,7 +3450,7 @@ } }, "/api/quotation/list": { - "get": { + "post": { "produces": [ "application/json" ], @@ -3131,6 +3458,17 @@ "Quotation" ], "summary": "鎶ヤ环鍗曞垪琛�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetQuotationList" + } + } + ], "responses": { "200": { "description": "OK", @@ -3170,6 +3508,125 @@ "required": true, "schema": { "$ref": "#/definitions/request.UpdateQuotation" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/quotationStatus/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "QuotationStatus" + ], + "summary": "娣诲姞鎶ヤ环鍗曠姸鎬�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddQuotationStatus" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/quotationStatus/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "QuotationStatus" + ], + "summary": "鍒犻櫎鎶ヤ环鍗曠姸鎬�", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/quotationStatus/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "QuotationStatus" + ], + "summary": "鑾峰彇鎶ヤ环鍗曠姸鎬佸垪琛�", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.QuotationStatusResponse" + } + } + } + ] + } + } + } + } + }, + "/api/quotationStatus/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "QuotationStatus" + ], + "summary": "鏇存柊鎶ヤ环鍗曠姸鎬�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateQuotationStatuss" } } ], @@ -3805,6 +4262,125 @@ } } }, + "/api/repository/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "Repository" + ], + "summary": "娣诲姞閫�璐т粨搴�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddRepository" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/repository/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "Repository" + ], + "summary": "鍒犻櫎閫�璐т粨搴�", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/repository/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "Repository" + ], + "summary": "鑾峰彇閫�璐т粨搴撳垪琛�", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.RepositoryResponse" + } + } + } + ] + } + } + } + } + }, + "/api/repository/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "Repository" + ], + "summary": "鏇存柊閫�璐т粨搴�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateRepositorys" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/saleChance/add": { "post": { "produces": [ @@ -3864,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", @@ -4221,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", @@ -4340,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", @@ -4459,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", @@ -4578,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", @@ -4625,6 +5256,125 @@ "required": true, "schema": { "$ref": "#/definitions/request.UpdateSalesReturnRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/salesReturnStatus/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "SalesReturnStatus" + ], + "summary": "娣诲姞閫�璐у崟鐘舵��", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddSalesReturnStatus" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/salesReturnStatus/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "SalesReturnStatus" + ], + "summary": "鍒犻櫎閫�璐у崟鐘舵��", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/salesReturnStatus/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "SalesReturnStatus" + ], + "summary": "鑾峰彇閫�璐у崟鐘舵�佸垪琛�", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.SalesReturnStatusResponse" + } + } + } + ] + } + } + } + } + }, + "/api/salesReturnStatus/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "SalesReturnStatus" + ], + "summary": "鏇存柊閫�璐у崟鐘舵��", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateSalesReturnStatuss" } } ], @@ -5292,7 +6042,7 @@ } }, "/api/serviceFeeManage/list": { - "get": { + "post": { "produces": [ "application/json" ], @@ -5300,6 +6050,17 @@ "ServiceFeeManage" ], "summary": "鏈嶅姟璐圭鐞嗗垪琛�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetServiceFeeManageList" + } + } + ], "responses": { "200": { "description": "OK", @@ -5411,14 +6172,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", @@ -5596,7 +6368,7 @@ "application/json" ], "tags": [ - "Status" + "SalesReturnStatus" ], "summary": "娣诲姞鐘舵��", "parameters": [ @@ -5626,7 +6398,7 @@ "application/json" ], "tags": [ - "Status" + "SalesReturnStatus" ], "summary": "鍒犻櫎鐘舵��", "parameters": [ @@ -5654,7 +6426,7 @@ "application/json" ], "tags": [ - "Status" + "SalesReturnStatus" ], "summary": "鐘舵�佸垪琛�", "responses": { @@ -5673,7 +6445,7 @@ "application/json" ], "tags": [ - "Status" + "SalesReturnStatus" ], "summary": "鏇存柊鐘舵��", "parameters": [ @@ -5756,14 +6528,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", @@ -6217,30 +7000,39 @@ } } } + }, + "/api/vetting/update": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "Vetting" + ], + "summary": "鏇存柊瀹℃壒", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateVetting" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } } }, "definitions": { - "constvar.CurrencyType": { - "type": "integer", - "enum": [ - 1, - 2, - 3, - 4 - ], - "x-enum-comments": { - "CurrencyTypeCNY": "浜烘皯甯�", - "CurrencyTypeEUR": "娆у厓", - "CurrencyTypeGBP": "鑻遍晳", - "CurrencyTypeUSD": "缇庡厓" - }, - "x-enum-varnames": [ - "CurrencyTypeCNY", - "CurrencyTypeUSD", - "CurrencyTypeEUR", - "CurrencyTypeGBP" - ] - }, "constvar.SalesStatus": { "type": "integer", "enum": [ @@ -6293,6 +7085,17 @@ }, "data": {}, "msg": { + "type": "string" + } + } + }, + "model.AccountId": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { "type": "string" } } @@ -6691,6 +7494,17 @@ } } }, + "model.Currency": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "model.CustomerServiceSheet": { "type": "object", "properties": { @@ -6895,6 +7709,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": { @@ -7045,6 +7897,17 @@ } } }, + "model.QuotationStatus": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "model.RefundMethod": { "type": "object", "properties": { @@ -7100,6 +7963,17 @@ } } }, + "model.Repository": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "model.SaleChance": { "type": "object", "properties": { @@ -7140,7 +8014,7 @@ "type": "integer" }, "currency": { - "$ref": "#/definitions/constvar.CurrencyType" + "type": "integer" }, "detail_address": { "type": "string" @@ -7273,6 +8147,15 @@ }, "id": { "type": "integer" + }, + "logisticCompany": { + "type": "string" + }, + "logisticCost": { + "type": "number" + }, + "logisticNumber": { + "type": "string" }, "memberId": { "type": "integer" @@ -7439,8 +8322,19 @@ "returnDate": { "type": "string" }, - "status": { + "salesReturnStatus": { "type": "integer" + } + } + }, + "model.SalesReturnStatus": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" } } }, @@ -7634,6 +8528,17 @@ } } }, + "model.Status": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "model.SubOrder": { "type": "object", "properties": { @@ -7722,6 +8627,17 @@ "type": "string" }, "uuid": { + "type": "string" + } + } + }, + "request.AddAccountId": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { "type": "string" } } @@ -7979,6 +8895,17 @@ } } }, + "request.AddCurrency": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + } + } + }, "request.AddCustomerServiceSheet": { "type": "object", "properties": { @@ -8202,6 +9129,17 @@ } } }, + "request.AddQuotationStatus": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + } + } + }, "request.AddRefundMethod": { "type": "object", "required": [ @@ -8245,6 +9183,17 @@ } }, "request.AddReportSource": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + } + } + }, + "request.AddRepository": { "type": "object", "required": [ "name" @@ -8451,6 +9400,17 @@ "properties": { "salesReturn": { "$ref": "#/definitions/request.SalesReturn" + } + } + }, + "request.AddSalesReturnStatus": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" } } }, @@ -8969,6 +9929,262 @@ } } }, + "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.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": { @@ -9101,6 +10317,15 @@ "type": "string" }, "deliveryDate": { + "type": "string" + }, + "logisticCompany": { + "type": "string" + }, + "logisticCost": { + "type": "number" + }, + "logisticNumber": { "type": "string" }, "memberId": { @@ -9260,6 +10485,35 @@ "type": "array", "items": { "type": "integer" + } + } + } + }, + "request.UpdateAccountId": { + "type": "object", + "required": [ + "id", + "name" + ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdateAccountIds": { + "type": "object", + "required": [ + "account_id" + ], + "properties": { + "account_id": { + "type": "array", + "items": { + "$ref": "#/definitions/request.UpdateAccountId" } } } @@ -9606,6 +10860,35 @@ "name": { "description": "鍥藉鍚嶇О", "type": "string" + } + } + }, + "request.UpdateCurrency": { + "type": "object", + "required": [ + "id", + "name" + ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdateCurrencys": { + "type": "object", + "required": [ + "currency" + ], + "properties": { + "currency": { + "type": "array", + "items": { + "$ref": "#/definitions/request.UpdateCurrency" + } } } }, @@ -10004,6 +11287,35 @@ } } }, + "request.UpdateQuotationStatus": { + "type": "object", + "required": [ + "id", + "name" + ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdateQuotationStatuss": { + "type": "object", + "required": [ + "quotation_status" + ], + "properties": { + "quotation_status": { + "type": "array", + "items": { + "$ref": "#/definitions/request.UpdateQuotationStatus" + } + } + } + }, "request.UpdateRefundMethod": { "type": "object", "required": [ @@ -10138,6 +11450,35 @@ "type": "array", "items": { "$ref": "#/definitions/request.UpdateReportSource" + } + } + } + }, + "request.UpdateRepository": { + "type": "object", + "required": [ + "id", + "name" + ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdateRepositorys": { + "type": "object", + "required": [ + "repository" + ], + "properties": { + "repository": { + "type": "array", + "items": { + "$ref": "#/definitions/request.UpdateRepository" } } } @@ -10392,6 +11733,35 @@ }, "salesReturn": { "$ref": "#/definitions/request.SalesReturn" + } + } + }, + "request.UpdateSalesReturnStatus": { + "type": "object", + "required": [ + "id", + "name" + ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdateSalesReturnStatuss": { + "type": "object", + "required": [ + "sales_return_status" + ], + "properties": { + "sales_return_status": { + "type": "array", + "items": { + "$ref": "#/definitions/request.UpdateSalesReturnStatus" + } } } }, @@ -10830,6 +12200,32 @@ } } }, + "request.UpdateVetting": { + "type": "object", + "required": [ + "id", + "status" + ], + "properties": { + "id": { + "type": "integer" + }, + "status": { + "type": "integer" + } + } + }, + "response.AccountIdResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.AccountId" + } + } + } + }, "response.CityResponse": { "type": "object", "properties": { @@ -10866,6 +12262,9 @@ "response.ClientResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -10899,6 +12298,9 @@ "response.ContactResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -10910,6 +12312,9 @@ "response.ContractResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -10929,9 +12334,27 @@ } } }, + "response.CurrencyResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Currency" + } + } + } + }, "response.DataResponse": { "type": "object", "properties": { + "accountId": { + "description": "璐︽埛", + "type": "array", + "items": { + "$ref": "#/definitions/model.AccountId" + } + }, "city": { "description": "鍩庡競鏁版嵁", "type": "array", @@ -10972,6 +12395,13 @@ "type": "array", "items": { "$ref": "#/definitions/model.Country" + } + }, + "currency": { + "description": "甯佺", + "type": "array", + "items": { + "$ref": "#/definitions/model.Currency" } }, "department": { @@ -11030,11 +12460,25 @@ "$ref": "#/definitions/model.OrderType" } }, + "possibility": { + "description": "鍙兘鎬�", + "type": "array", + "items": { + "$ref": "#/definitions/model.Possibility" + } + }, "province": { "description": "鐪佷唤鏁版嵁", "type": "array", "items": { "$ref": "#/definitions/model.Province" + } + }, + "quotationStatus": { + "description": "鎶ヤ环鍗曠姸鎬�", + "type": "array", + "items": { + "$ref": "#/definitions/model.QuotationStatus" } }, "refundMethod": { @@ -11072,6 +12516,13 @@ "$ref": "#/definitions/model.ReportSource" } }, + "repository": { + "description": "閫�璐т粨搴�", + "type": "array", + "items": { + "$ref": "#/definitions/model.Repository" + } + }, "sale_stage": { "description": "閿�鍞樁娈�", "type": "array", @@ -11084,6 +12535,13 @@ "type": "array", "items": { "$ref": "#/definitions/model.SaleType" + } + }, + "salesReturnStatus": { + "description": "閫�璐у崟鐘舵��", + "type": "array", + "items": { + "$ref": "#/definitions/model.SalesReturnStatus" } }, "sales_source": { @@ -11119,6 +12577,13 @@ "type": "array", "items": { "$ref": "#/definitions/model.SolveRate" + } + }, + "status": { + "description": "鐘舵��", + "type": "array", + "items": { + "$ref": "#/definitions/model.Status" } }, "timely_rate": { @@ -11166,6 +12631,9 @@ "response.FollowRecordResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -11224,6 +12692,9 @@ "response.MasterOrderResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -11239,6 +12710,20 @@ "type": "array", "items": { "$ref": "#/definitions/model.Menu" + } + } + } + }, + "response.OrderManageResponse": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.OrderManage" } } } @@ -11272,6 +12757,9 @@ "response.PlanResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -11305,10 +12793,24 @@ "response.QuotationResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { "$ref": "#/definitions/model.Quotation" + } + } + } + }, + "response.QuotationStatusResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.QuotationStatus" } } } @@ -11357,9 +12859,23 @@ } } }, + "response.RepositoryResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Repository" + } + } + } + }, "response.SaleChanceResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -11393,6 +12909,9 @@ "response.SalesDetailsResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -11404,6 +12923,9 @@ "response.SalesLeadsResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -11415,6 +12937,9 @@ "response.SalesRefundResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -11426,10 +12951,24 @@ "response.SalesReturnResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { "$ref": "#/definitions/model.SalesReturn" + } + } + } + }, + "response.SalesReturnStatusResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.SalesReturnStatus" } } } @@ -11492,6 +13031,9 @@ "response.ServiceFeeManageResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -11503,6 +13045,9 @@ "response.ServiceFollowupResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -11525,6 +13070,9 @@ "response.SubOrderResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { -- Gitblit v1.8.0