From 7f8a45a749419c3da5b81c4683f0b8034f5280f3 Mon Sep 17 00:00:00 2001 From: wangpengfei <274878379@qq.com> Date: 星期二, 25 七月 2023 15:20:09 +0800 Subject: [PATCH] fix --- docs/docs.go | 1631 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 1,601 insertions(+), 30 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 0fb9be2..4fa51ec 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": [ @@ -1276,6 +1395,125 @@ } } }, + "/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" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/customerServiceSheet/add": { "post": { "produces": [ @@ -2027,6 +2265,125 @@ "required": true, "schema": { "$ref": "#/definitions/request.UpdateIndustries" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/isInvoice/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "IsInvoice" + ], + "summary": "娣诲姞鏄惁寮�绁�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddIsInvoice" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/isInvoice/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "IsInvoice" + ], + "summary": "鍒犻櫎鏄惁寮�绁�", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/isInvoice/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "IsInvoice" + ], + "summary": "鑾峰彇鏄惁寮�绁ㄥ垪琛�", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.IsInvoiceResponse" + } + } + } + ] + } + } + } + } + }, + "/api/isInvoice/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "IsInvoice" + ], + "summary": "鏇存柊鏄惁寮�绁�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateIsInvoices" } } ], @@ -3064,6 +3421,244 @@ } } }, + "/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" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/refundMethod/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "RefundMethod" + ], + "summary": "娣诲姞閫�娆炬柟寮�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddRefundMethod" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/refundMethod/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "RefundMethod" + ], + "summary": "鍒犻櫎閫�娆炬柟寮�", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/refundMethod/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "RefundMethod" + ], + "summary": "鑾峰彇閫�娆炬柟寮忓垪琛�", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.RefundMethodResponse" + } + } + } + ] + } + } + } + } + }, + "/api/refundMethod/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "RefundMethod" + ], + "summary": "鏇存柊閫�娆炬柟寮�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateRefundMethods" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/region/add": { "post": { "produces": [ @@ -3554,6 +4149,125 @@ "required": true, "schema": { "$ref": "#/definitions/request.UpdateReportSources" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/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" } } ], @@ -4400,6 +5114,125 @@ } } }, + "/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" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/salesSources/add": { "post": { "produces": [ @@ -4876,6 +5709,125 @@ } } }, + "/api/serviceContractType/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "ServiceContractType" + ], + "summary": "娣诲姞鏈嶅姟鍚堝悓绫诲瀷", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddServiceContractType" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/serviceContractType/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "ServiceContractType" + ], + "summary": "鍒犻櫎鏈嶅姟鍚堝悓绫诲瀷", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/serviceContractType/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "ServiceContractType" + ], + "summary": "鑾峰彇鏈嶅姟鍚堝悓绫诲瀷鍒楄〃", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.ServiceContractTypeResponse" + } + } + } + ] + } + } + } + } + }, + "/api/serviceContractType/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "ServiceContractType" + ], + "summary": "鏇存柊鏈嶅姟鍚堝悓绫诲瀷", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateServiceContractTypes" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/serviceFeeManage/add": { "post": { "produces": [ @@ -5239,7 +6191,7 @@ "application/json" ], "tags": [ - "Status" + "SalesReturnStatus" ], "summary": "娣诲姞鐘舵��", "parameters": [ @@ -5269,7 +6221,7 @@ "application/json" ], "tags": [ - "Status" + "SalesReturnStatus" ], "summary": "鍒犻櫎鐘舵��", "parameters": [ @@ -5297,7 +6249,7 @@ "application/json" ], "tags": [ - "Status" + "SalesReturnStatus" ], "summary": "鐘舵�佸垪琛�", "responses": { @@ -5316,7 +6268,7 @@ "application/json" ], "tags": [ - "Status" + "SalesReturnStatus" ], "summary": "鏇存柊鐘舵��", "parameters": [ @@ -5860,30 +6812,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": [ @@ -5936,6 +6897,17 @@ }, "data": {}, "msg": { + "type": "string" + } + } + }, + "model.AccountId": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { "type": "string" } } @@ -6334,6 +7306,17 @@ } } }, + "model.Currency": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "model.CustomerServiceSheet": { "type": "object", "properties": { @@ -6450,6 +7433,17 @@ } }, "model.Industry": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "model.IsInvoice": { "type": "object", "properties": { "id": { @@ -6677,6 +7671,28 @@ } } }, + "model.QuotationStatus": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "model.RefundMethod": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "model.Region": { "type": "object", "properties": { @@ -6711,6 +7727,17 @@ } }, "model.ReportSource": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "model.Repository": { "type": "object", "properties": { "id": { @@ -6761,7 +7788,7 @@ "type": "integer" }, "currency": { - "$ref": "#/definitions/constvar.CurrencyType" + "type": "integer" }, "detail_address": { "type": "string" @@ -6894,6 +7921,15 @@ }, "id": { "type": "integer" + }, + "logisticCompany": { + "type": "string" + }, + "logisticCost": { + "type": "number" + }, + "logisticNumber": { + "type": "string" }, "memberId": { "type": "integer" @@ -7060,8 +8096,19 @@ "returnDate": { "type": "string" }, - "status": { + "salesReturnStatus": { "type": "integer" + } + } + }, + "model.SalesReturnStatus": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" } } }, @@ -7129,6 +8176,9 @@ "serviceContractStatusId": { "type": "integer" }, + "serviceContractTypeId": { + "type": "integer" + }, "serviceTimes": { "type": "integer" }, @@ -7140,13 +8190,21 @@ }, "terms": { "type": "string" - }, - "typeId": { - "type": "integer" } } }, "model.ServiceContractStatus": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "model.ServiceContractType": { "type": "object", "properties": { "id": { @@ -7234,6 +8292,17 @@ } }, "model.SolveRate": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "model.Status": { "type": "object", "properties": { "id": { @@ -7332,6 +8401,17 @@ "type": "string" }, "uuid": { + "type": "string" + } + } + }, + "request.AddAccountId": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { "type": "string" } } @@ -7589,6 +8669,17 @@ } } }, + "request.AddCurrency": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + } + } + }, "request.AddCustomerServiceSheet": { "type": "object", "properties": { @@ -7654,6 +8745,17 @@ } }, "request.AddIndustry": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + } + } + }, + "request.AddIsInvoice": { "type": "object", "required": [ "name" @@ -7801,6 +8903,28 @@ } } }, + "request.AddQuotationStatus": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + } + } + }, + "request.AddRefundMethod": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + } + } + }, "request.AddRegion": { "type": "object", "properties": { @@ -7833,6 +8957,17 @@ } }, "request.AddReportSource": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + } + } + }, + "request.AddRepository": { "type": "object", "required": [ "name" @@ -8042,6 +9177,17 @@ } } }, + "request.AddSalesReturnStatus": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + } + } + }, "request.AddSalesSources": { "type": "object", "required": [ @@ -8121,6 +9267,17 @@ } }, "request.AddServiceContractStatus": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + } + } + }, + "request.AddServiceContractType": { "type": "object", "required": [ "name" @@ -8680,6 +9837,15 @@ "deliveryDate": { "type": "string" }, + "logisticCompany": { + "type": "string" + }, + "logisticCost": { + "type": "number" + }, + "logisticNumber": { + "type": "string" + }, "memberId": { "type": "integer" }, @@ -8837,6 +10003,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" } } } @@ -9186,6 +10381,35 @@ } } }, + "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" + } + } + } + }, "request.UpdateCustomerServiceSheet": { "type": "object", "properties": { @@ -9330,6 +10554,35 @@ }, "name": { "type": "string" + } + } + }, + "request.UpdateIsInvoice": { + "type": "object", + "required": [ + "id", + "name" + ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdateIsInvoices": { + "type": "object", + "required": [ + "is_invoice" + ], + "properties": { + "is_invoice": { + "type": "array", + "items": { + "$ref": "#/definitions/request.UpdateIsInvoice" + } } } }, @@ -9552,6 +10805,64 @@ } } }, + "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": [ + "id", + "name" + ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdateRefundMethods": { + "type": "object", + "required": [ + "refund_method" + ], + "properties": { + "refund_method": { + "type": "array", + "items": { + "$ref": "#/definitions/request.UpdateRefundMethod" + } + } + } + }, "request.UpdateRegion": { "type": "object", "properties": { @@ -9657,6 +10968,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" } } } @@ -9914,6 +11254,35 @@ } } }, + "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" + } + } + } + }, "request.UpdateSalesSources": { "type": "object", "required": [ @@ -10053,6 +11422,35 @@ "type": "array", "items": { "$ref": "#/definitions/request.UpdateServiceContractStatus" + } + } + } + }, + "request.UpdateServiceContractType": { + "type": "object", + "required": [ + "id", + "name" + ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdateServiceContractTypes": { + "type": "object", + "required": [ + "service_contract_type" + ], + "properties": { + "service_contract_type": { + "type": "array", + "items": { + "$ref": "#/definitions/request.UpdateServiceContractType" } } } @@ -10320,6 +11718,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": { @@ -10419,9 +11843,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", @@ -10464,6 +11906,13 @@ "$ref": "#/definitions/model.Country" } }, + "currency": { + "description": "甯佺", + "type": "array", + "items": { + "$ref": "#/definitions/model.Currency" + } + }, "department": { "description": "閮ㄩ棬", "type": "array", @@ -10492,6 +11941,13 @@ "$ref": "#/definitions/model.Industry" } }, + "isInvoice": { + "description": "鏄惁寮�绁�", + "type": "array", + "items": { + "$ref": "#/definitions/model.IsInvoice" + } + }, "isVisit": { "description": "鏈嶅姟浜哄憳鏄惁鏉ヨ繃", "type": "array", @@ -10513,11 +11969,32 @@ "$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": { + "description": "閫�娆炬柟寮�", + "type": "array", + "items": { + "$ref": "#/definitions/model.RefundMethod" } }, "region": { @@ -10548,6 +12025,13 @@ "$ref": "#/definitions/model.ReportSource" } }, + "repository": { + "description": "閫�璐т粨搴�", + "type": "array", + "items": { + "$ref": "#/definitions/model.Repository" + } + }, "sale_stage": { "description": "閿�鍞樁娈�", "type": "array", @@ -10560,6 +12044,13 @@ "type": "array", "items": { "$ref": "#/definitions/model.SaleType" + } + }, + "salesReturnStatus": { + "description": "閫�璐у崟鐘舵��", + "type": "array", + "items": { + "$ref": "#/definitions/model.SalesReturnStatus" } }, "sales_source": { @@ -10583,11 +12074,25 @@ "$ref": "#/definitions/model.ServiceContractStatus" } }, + "serviceContractType": { + "description": "鏈嶅姟鍚堝悓绫诲瀷", + "type": "array", + "items": { + "$ref": "#/definitions/model.ServiceContractType" + } + }, "solve_rate": { "description": "瑙e喅鐜�", "type": "array", "items": { "$ref": "#/definitions/model.SolveRate" + } + }, + "status": { + "description": "鐘舵��", + "type": "array", + "items": { + "$ref": "#/definitions/model.Status" } }, "timely_rate": { @@ -10650,6 +12155,17 @@ "type": "array", "items": { "$ref": "#/definitions/model.Industry" + } + } + } + }, + "response.IsInvoiceResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.IsInvoice" } } } @@ -10771,6 +12287,28 @@ } } }, + "response.QuotationStatusResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.QuotationStatus" + } + } + } + }, + "response.RefundMethodResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.RefundMethod" + } + } + } + }, "response.RegisteredCapitalResponse": { "type": "object", "properties": { @@ -10800,6 +12338,17 @@ "type": "array", "items": { "$ref": "#/definitions/model.ReportSource" + } + } + } + }, + "response.RepositoryResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Repository" } } } @@ -10881,6 +12430,17 @@ } } }, + "response.SalesReturnStatusResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.SalesReturnStatus" + } + } + } + }, "response.SalesSourceResponse": { "type": "object", "properties": { @@ -10914,6 +12474,17 @@ } } }, + "response.ServiceContractTypeResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.ServiceContractType" + } + } + } + }, "response.ServiceContractsResponse": { "type": "object", "properties": { -- Gitblit v1.8.0