From d4bf53dd19a45ef09a367babcf7a2ac04ae1d08f Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期二, 17 十月 2023 14:31:31 +0800 Subject: [PATCH] bug修改 --- docs/docs.go | 1760 ++++++++++++++++++++++++++++++++++++---------------------- 1 files changed, 1,091 insertions(+), 669 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index c48e7eb..ab2884d 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -404,79 +404,6 @@ } } }, - "/api/base/captcha": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "Base" - ], - "summary": "鑾峰彇楠岃瘉鐮�", - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "allOf": [ - { - "$ref": "#/definitions/contextx.Response" - }, - { - "type": "object", - "properties": { - "data": { - "$ref": "#/definitions/response.LoginResponse" - } - } - } - ] - } - } - } - } - }, - "/api/base/login": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "Base" - ], - "summary": "鐢ㄦ埛鐧诲綍", - "parameters": [ - { - "description": "鏌ヨ鍙傛暟", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/request.Login" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "allOf": [ - { - "$ref": "#/definitions/contextx.Response" - }, - { - "type": "object", - "properties": { - "data": { - "$ref": "#/definitions/response.LoginResponse" - } - } - } - ] - } - } - } - } - }, "/api/city/add": { "post": { "produces": [ @@ -651,6 +578,36 @@ "required": true, "schema": { "$ref": "#/definitions/request.AddClient" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/client/checkName": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "Client" + ], + "summary": "妫�鏌ュ鎴峰悕绉版槸鍚﹂噸澶�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.CheckClientName" } } ], @@ -1242,6 +1199,54 @@ } } }, + "/api/code/getCodeList": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "缂栫爜" + ], + "summary": "鑾峰彇缂栫爜鍒楄〃", + "parameters": [ + { + "type": "string", + "name": "codeStandID", + "in": "query" + }, + { + "type": "string", + "name": "name", + "in": "query" + }, + { + "type": "integer", + "description": "椤电爜", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "姣忛〉澶у皬", + "name": "pageSize", + "in": "query" + }, + { + "type": "string", + "name": "type", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/response.ListResponse" + } + } + } + } + }, "/api/collectionProjection/add": { "post": { "produces": [ @@ -1495,6 +1500,37 @@ } } }, + "/api/contactInformation/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "ContactInformation" + ], + "summary": "鑱旂郴鏂瑰紡鍒楄〃", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.ContactInformationResponse" + } + } + } + ] + } + } + } + } + }, "/api/contract/add": { "post": { "produces": [ @@ -1525,7 +1561,7 @@ } } }, - "/api/contract/delete/{id}": { + "/api/contract/delete": { "delete": { "produces": [ "application/json" @@ -1536,11 +1572,13 @@ "summary": "鍒犻櫎鍚堝悓", "parameters": [ { - "type": "integer", "description": "鏌ヨ鍙傛暟", - "name": "id", - "in": "path", - "required": true + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.DeleteContract" + } } ], "responses": { @@ -3249,7 +3287,7 @@ } }, "/api/invoice/list": { - "get": { + "post": { "produces": [ "application/json" ], @@ -3259,43 +3297,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": { @@ -3947,7 +3955,7 @@ } } }, - "/api/masterOrder/delete/{id}": { + "/api/masterOrder/delete": { "delete": { "produces": [ "application/json" @@ -3958,11 +3966,13 @@ "summary": "鍒犻櫎涓昏鍗�", "parameters": [ { - "type": "integer", "description": "鏌ヨ鍙傛暟", - "name": "id", - "in": "path", - "required": true + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.DeleteMasterOrder" + } } ], "responses": { @@ -5165,7 +5175,7 @@ } } }, - "/api/quotation/delete/{id}": { + "/api/quotation/delete": { "delete": { "produces": [ "application/json" @@ -5176,11 +5186,13 @@ "summary": "鍒犻櫎鎶ヤ环鍗�", "parameters": [ { - "type": "integer", "description": "鏌ヨ鍙傛暟", - "name": "id", - "in": "path", - "required": true + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.DeleteQuotation" + } } ], "responses": { @@ -5453,19 +5465,9 @@ "summary": "鑾峰彇鏀舵鍗曞垪琛�", "parameters": [ { - "type": "string", - "name": "keyword", - "in": "query" - }, - { - "enum": [ - "" - ], - "type": "string", - "x-enum-varnames": [ - "ReceiptKeywordCustomerName" - ], - "name": "keywordType", + "type": "integer", + "description": "瀹㈡埛id", + "name": "clientId", "in": "query" }, { @@ -5481,14 +5483,35 @@ "in": "query" }, { + "type": "integer", + "name": "sourceId", + "in": "query" + }, + { "enum": [ - "" + 1, + 2, + 3, + 4, + 5 ], - "type": "string", + "type": "integer", + "x-enum-comments": { + "ReceiptSourceTypeChuKuDan": "鍑哄簱鍗昳t", + "ReceiptSourceTypeCollectionPlan": "鏀舵璁″垝", + "ReceiptSourceTypeInvoice": "閿�鍞彂绁�", + "ReceiptSourceTypeSalesDetails": "閿�鍞槑缁嗗崟", + "ReceiptSourceTypeServiceContract": "鏈嶅姟鍚堝悓" + }, "x-enum-varnames": [ - "ReceiptQueryClassExpireLessThen60Days" + "ReceiptSourceTypeSalesDetails", + "ReceiptSourceTypeServiceContract", + "ReceiptSourceTypeInvoice", + "ReceiptSourceTypeCollectionPlan", + "ReceiptSourceTypeChuKuDan" ], - "name": "queryClass", + "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級", + "name": "sourceType", "in": "query" } ], @@ -6318,7 +6341,7 @@ } } }, - "/api/saleChance/delete/{id}": { + "/api/saleChance/delete": { "delete": { "produces": [ "application/json" @@ -6329,11 +6352,13 @@ "summary": "鍒犻櫎閿�鍞満浼�", "parameters": [ { - "type": "integer", "description": "鏌ヨ鍙傛暟", - "name": "id", - "in": "path", - "required": true + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.DeleteSaleChance" + } } ], "responses": { @@ -6710,7 +6735,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/contextx.Response" + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/request.AddSalesDetails" + } + } + } + ] } } } @@ -7014,7 +7051,7 @@ "application/json" ], "tags": [ - "SalesRefund" + "閿�鍞��娆惧崟" ], "summary": "娣诲姞閿�鍞��娆�", "parameters": [ @@ -7038,13 +7075,43 @@ } } }, + "/api/salesRefund/delete": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "閿�鍞��娆惧崟" + ], + "summary": "鎵归噺鍒犻櫎閿�鍞��娆惧崟", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.CommonIds" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/salesRefund/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ - "SalesRefund" + "閿�鍞��娆惧崟" ], "summary": "鍒犻櫎閿�鍞��娆�", "parameters": [ @@ -7072,7 +7139,7 @@ "application/json" ], "tags": [ - "SalesRefund" + "閿�鍞��娆惧崟" ], "summary": "閿�鍞��娆惧崟鍒楄〃", "parameters": [ @@ -7114,7 +7181,7 @@ "application/json" ], "tags": [ - "SalesRefund" + "閿�鍞��娆惧崟" ], "summary": "鏇存柊閿�鍞��娆�", "parameters": [ @@ -7714,7 +7781,7 @@ } }, "/api/serviceCollectionPlan/list": { - "get": { + "post": { "produces": [ "application/json" ], @@ -7724,10 +7791,13 @@ "summary": "鑾峰彇鏀舵璁″垝鍒楄〃", "parameters": [ { - "type": "integer", - "description": "鏈嶅姟鍚堝悓id", - "name": "serviceContractId", - "in": "query" + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetServiceCollectionPlanList" + } } ], "responses": { @@ -7923,9 +7993,9 @@ "application/json" ], "tags": [ - "ServiceContractStatus" + "鍚堝悓鐘舵��" ], - "summary": "娣诲姞鏈嶅姟鍚堝悓鐘舵��", + "summary": "娣诲姞鍚堝悓鐘舵��", "parameters": [ { "description": "鏌ヨ鍙傛暟", @@ -7953,9 +8023,9 @@ "application/json" ], "tags": [ - "ServiceContractStatus" + "鍚堝悓鐘舵��" ], - "summary": "鍒犻櫎鏈嶅姟鍚堝悓鐘舵��", + "summary": "鍒犻櫎鍚堝悓鐘舵��", "parameters": [ { "type": "integer", @@ -7981,22 +8051,66 @@ "application/json" ], "tags": [ - "ServiceContractStatus" + "鍚堝悓鐘舵��" ], - "summary": "鑾峰彇鏈嶅姟鍚堝悓鐘舵�佸垪琛�", + "summary": "鑾峰彇鍚堝悓鐘舵�佸垪琛�", + "parameters": [ + { + "type": "string", + "name": "keyword", + "in": "query" + }, + { + "enum": [ + "" + ], + "type": "string", + "x-enum-varnames": [ + "ServiceContractStatusKeywordCustomerName" + ], + "name": "keywordType", + "in": "query" + }, + { + "type": "integer", + "description": "椤电爜", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "姣忛〉澶у皬", + "name": "pageSize", + "in": "query" + }, + { + "enum": [ + "" + ], + "type": "string", + "x-enum-varnames": [ + "ServiceContractStatusQueryClassExpireLessThen60Days" + ], + "name": "queryClass", + "in": "query" + } + ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { - "$ref": "#/definitions/contextx.Response" + "$ref": "#/definitions/response.ListResponse" }, { "type": "object", "properties": { "data": { - "$ref": "#/definitions/response.ServiceContractStatusResponse" + "type": "array", + "items": { + "$ref": "#/definitions/model.ServiceContractStatus" + } } } } @@ -8012,9 +8126,9 @@ "application/json" ], "tags": [ - "ServiceContractStatus" + "鍚堝悓鐘舵��" ], - "summary": "鏇存柊鏈嶅姟鍚堝悓鐘舵��", + "summary": "鏇存柊鍚堝悓鐘舵��", "parameters": [ { "description": "鏌ヨ鍙傛暟", @@ -8022,7 +8136,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/request.UpdateServiceContractStatuss" + "$ref": "#/definitions/request.UpdateServiceContractStatus" } } ], @@ -9245,7 +9359,7 @@ } } }, - "/api/subOrder/delete/{id}": { + "/api/subOrder/delete": { "delete": { "produces": [ "application/json" @@ -9256,11 +9370,13 @@ "summary": "鍒犻櫎瀛愯鍗�", "parameters": [ { - "type": "integer", "description": "鏌ヨ鍙傛暟", - "name": "id", - "in": "path", - "required": true + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.DeleteSubOrder" + } } ], "responses": { @@ -9586,259 +9702,6 @@ } } }, - "/api/user/changePassword": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "鐢ㄦ埛淇敼瀵嗙爜", - "parameters": [ - { - "description": "鏌ヨ鍙傛暟", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/request.ChangePasswordReq" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "$ref": "#/definitions/contextx.Response" - } - } - } - } - }, - "/api/user/deleteUser": { - "delete": { - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "鍒犻櫎鐢ㄦ埛", - "parameters": [ - { - "description": "鏌ヨ鍙傛暟", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/request.DeleteUserReq" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "$ref": "#/definitions/contextx.Response" - } - } - } - } - }, - "/api/user/getUserInfo": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "鑾峰彇鑷韩淇℃伅", - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "$ref": "#/definitions/contextx.Response" - } - } - } - } - }, - "/api/user/getUserList": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "鍒嗛〉鑾峰彇鐢ㄦ埛鍒楄〃(涓嶄紶鍒嗛〉鍙傛暟锛岃幏鍙栧叏閮�)", - "parameters": [ - { - "description": "鏌ヨ鍙傛暟", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/request.GetUserList" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "allOf": [ - { - "$ref": "#/definitions/contextx.Response" - }, - { - "type": "object", - "properties": { - "data": { - "$ref": "#/definitions/response.PageResult" - } - } - } - ] - } - } - } - } - }, - "/api/user/register": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "娉ㄥ唽璐﹀彿", - "parameters": [ - { - "description": "鏌ヨ鍙傛暟", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/request.Register" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "allOf": [ - { - "$ref": "#/definitions/contextx.Response" - }, - { - "type": "object", - "properties": { - "data": { - "$ref": "#/definitions/response.UserResponse" - } - } - } - ] - } - } - } - } - }, - "/api/user/resetPassword": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "閲嶇疆鐢ㄦ埛瀵嗙爜", - "parameters": [ - { - "description": "鏌ヨ鍙傛暟", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/model.User" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "$ref": "#/definitions/contextx.Response" - } - } - } - } - }, - "/api/user/setSelfInfo": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "璁剧疆鐢ㄦ埛淇℃伅", - "parameters": [ - { - "description": "鏌ヨ鍙傛暟", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/request.ChangeUserInfo" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "$ref": "#/definitions/contextx.Response" - } - } - } - } - }, - "/api/user/setUserInfo": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "璁剧疆鐢ㄦ埛淇℃伅", - "parameters": [ - { - "description": "鏌ヨ鍙傛暟", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/request.ChangeUserInfo" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "$ref": "#/definitions/contextx.Response" - } - } - } - } - }, "/api/vetting/add": { "post": { "produces": [ @@ -10064,6 +9927,69 @@ } }, "definitions": { + "code.CodeAuto": { + "type": "object", + "properties": { + "AutoLength": { + "type": "integer" + }, + "Desc": { + "type": "string" + }, + "PrefixMethod": { + "type": "integer" + }, + "PrefixValue": { + "type": "string" + }, + "SuffixMethod": { + "type": "integer" + } + } + }, + "code.CodeRule": { + "type": "object", + "properties": { + "Desc": { + "type": "string" + }, + "Length": { + "type": "integer" + }, + "Name": { + "type": "string" + } + } + }, + "code.CodeStandard": { + "type": "object", + "properties": { + "AutoRule": { + "$ref": "#/definitions/code.CodeAuto" + }, + "ID": { + "type": "string" + }, + "List": { + "type": "array", + "items": { + "$ref": "#/definitions/code.CodeRule" + } + }, + "Method": { + "type": "integer" + }, + "Name": { + "type": "string" + }, + "Status": { + "type": "string" + }, + "Type": { + "type": "string" + } + } + }, "constvar.BankAccountKeywordType": { "type": "string", "enum": [ @@ -10151,24 +10077,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": [ @@ -10234,24 +10142,6 @@ "PaymentTypeQueryClassExpireLessThen60Days" ] }, - "constvar.ReceiptKeywordType": { - "type": "string", - "enum": [ - "" - ], - "x-enum-varnames": [ - "ReceiptKeywordCustomerName" - ] - }, - "constvar.ReceiptQueryClass": { - "type": "string", - "enum": [ - "" - ], - "x-enum-varnames": [ - "ReceiptQueryClassExpireLessThen60Days" - ] - }, "constvar.ReceiptSourceType": { "type": "integer", "enum": [ @@ -10261,6 +10151,13 @@ 4, 5 ], + "x-enum-comments": { + "ReceiptSourceTypeChuKuDan": "鍑哄簱鍗昳t", + "ReceiptSourceTypeCollectionPlan": "鏀舵璁″垝", + "ReceiptSourceTypeInvoice": "閿�鍞彂绁�", + "ReceiptSourceTypeSalesDetails": "閿�鍞槑缁嗗崟", + "ReceiptSourceTypeServiceContract": "鏈嶅姟鍚堝悓" + }, "x-enum-varnames": [ "ReceiptSourceTypeSalesDetails", "ReceiptSourceTypeServiceContract", @@ -10321,6 +10218,29 @@ "SalesRefundKeywordPrincipal", "SalesRefundKeywordUpdateAt", "SalesRefundKeywordPriceTotal" + ] + }, + "constvar.SalesReturnKeywordType": { + "type": "string", + "enum": [ + "閿�鍞��璐у崟缂栧彿", + "瀹㈡埛鍚嶇О", + "閫�娆炬棩鏈�", + "鐘舵��", + "閫�鍏ヤ粨搴�", + "搴旈��娆�", + "宸查��娆�", + "閿�鍞礋璐d汉" + ], + "x-enum-varnames": [ + "SalesReturnKeywordReturnNumber", + "SalesReturnKeywordClientName", + "SalesReturnKeywordReturnDate", + "SalesReturnKeywordStatus", + "SalesReturnKeywordRepository", + "SalesReturnKeywordAmountShouldRefund", + "SalesReturnKeywordAmountHasRefund", + "SalesReturnKeywordPrincipal" ] }, "constvar.SalesReturnSourceType": { @@ -10399,6 +10319,24 @@ "ServiceContractQueryClassExpireAfter60Day", "ServiceContractQueryClassExpiredBefore15Day", "ServiceContractQueryClassExpiredBefore60Day" + ] + }, + "constvar.ServiceContractStatusKeywordType": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "ServiceContractStatusKeywordCustomerName" + ] + }, + "constvar.ServiceContractStatusQueryClass": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "ServiceContractStatusQueryClassExpireLessThen60Days" ] }, "constvar.ServiceFeeKeywordType": { @@ -10660,6 +10598,9 @@ "client_type_id": { "type": "integer" }, + "codeStandID": { + "type": "string" + }, "contacts": { "type": "array", "items": { @@ -10670,6 +10611,15 @@ "$ref": "#/definitions/model.Country" }, "country_id": { + "type": "integer" + }, + "createTime": { + "type": "string" + }, + "creatorName": { + "type": "string" + }, + "creator_id": { "type": "integer" }, "detail_address": { @@ -10749,6 +10699,9 @@ }, "service_member_id": { "type": "integer" + }, + "updateTime": { + "type": "string" } } }, @@ -10799,10 +10752,6 @@ "model.CollectionProjection": { "type": "object", "properties": { - "_": { - "description": "The date when the item was deleted\nexample: 2023-08-10 15:48:25", - "type": "string" - }, "created_at": { "description": "The date when the item was created\nexample: 2023-08-10 15:48:25", "type": "string" @@ -10846,6 +10795,9 @@ }, "client_id": { "type": "integer" + }, + "codeStandID": { + "type": "string" }, "country": { "$ref": "#/definitions/model.Country" @@ -10918,6 +10870,9 @@ "client_id": { "type": "integer" }, + "codeStandID": { + "type": "string" + }, "country": { "$ref": "#/definitions/model.Country" }, @@ -10977,18 +10932,31 @@ } } }, + "model.ContactInformation": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "model.Contract": { "type": "object", "properties": { - "_": { - "description": "The date when the item was deleted\nexample: 2023-08-10 15:48:25", - "type": "string" - }, "client": { "$ref": "#/definitions/model.Client" }, "clientId": { "type": "integer" + }, + "codeStandID": { + "type": "string" + }, + "contractName": { + "type": "string" }, "created_at": { "description": "The date when the item was created\nexample: 2023-08-10 15:48:25", @@ -11015,6 +10983,9 @@ }, "quotationId": { "type": "integer" + }, + "serviceContractStatus": { + "$ref": "#/definitions/model.ServiceContractStatus" }, "statusId": { "type": "integer" @@ -11134,11 +11105,17 @@ "client_status_id": { "type": "integer" }, + "codeStandID": { + "type": "string" + }, "contact": { "$ref": "#/definitions/model.Contact" }, "contact_id": { "type": "integer" + }, + "contact_information": { + "$ref": "#/definitions/model.ContactInformation" }, "contact_information_id": { "type": "integer" @@ -11328,6 +11305,9 @@ }, "client_id": { "type": "integer" + }, + "codeStandID": { + "type": "string" }, "end_time": { "type": "string" @@ -11554,6 +11534,9 @@ "client_id": { "type": "integer" }, + "codeStandID": { + "type": "string" + }, "conditions": { "type": "string" }, @@ -11583,6 +11566,9 @@ "items": { "$ref": "#/definitions/model.Product" } + }, + "quotationName": { + "type": "string" }, "quotation_status": { "$ref": "#/definitions/model.QuotationStatus" @@ -11626,9 +11612,23 @@ "description": "璐︽埛id", "type": "integer" }, + "client": { + "description": "瀹㈡埛id", + "allOf": [ + { + "$ref": "#/definitions/model.Client" + } + ] + }, "clientId": { "description": "瀹㈡埛id", "type": "integer" + }, + "createTime": { + "type": "string" + }, + "creatorName": { + "type": "string" }, "fileId": { "description": "闄勪欢id", @@ -11639,6 +11639,9 @@ }, "moneyType": { "description": "甯佺", + "type": "string" + }, + "number": { "type": "string" }, "paymentType": { @@ -11679,6 +11682,9 @@ "$ref": "#/definitions/constvar.ReceiptSourceType" } ] + }, + "updateTime": { + "type": "string" } } }, @@ -11771,6 +11777,9 @@ }, "client_id": { "type": "integer" + }, + "codeStandID": { + "type": "string" }, "collection_projections": { "type": "array", @@ -11957,6 +11966,9 @@ "clientId": { "type": "integer" }, + "codeStandID": { + "type": "string" + }, "conditions": { "type": "string" }, @@ -12014,6 +12026,9 @@ "signTime": { "type": "string" }, + "updateTime": { + "type": "string" + }, "wechatOrderStatus": { "$ref": "#/definitions/model.WechatOrderStatus" }, @@ -12031,6 +12046,9 @@ "city_id": { "type": "integer" }, + "codeStandID": { + "type": "string" + }, "contact_name": { "type": "string" }, @@ -12047,6 +12065,9 @@ "type": "integer" }, "desc": { + "type": "string" + }, + "detail_address": { "type": "string" }, "followRecord": { @@ -12099,6 +12120,9 @@ "model.SalesRefund": { "type": "object", "properties": { + "Source": { + "$ref": "#/definitions/model.SalesReturn" + }, "amountTotal": { "description": "浠风◣鍚堣", "type": "number" @@ -12116,6 +12140,9 @@ "clientId": { "type": "integer" }, + "codeStandID": { + "type": "string" + }, "createTime": { "type": "string" }, @@ -12126,7 +12153,7 @@ "type": "integer" }, "isInvoice": { - "type": "integer" + "type": "string" }, "member": { "$ref": "#/definitions/model.User" @@ -12161,12 +12188,15 @@ "type": "integer" }, "sourceType": { - "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級", + "description": "鏉ユ簮绫诲瀷锛�1閿�鍞��璐э級", "allOf": [ { "$ref": "#/definitions/constvar.RefundSourceType" } ] + }, + "updateTime": { + "type": "string" } } }, @@ -12184,11 +12214,22 @@ } ] }, + "amountHasRefund": { + "description": "宸查��娆鹃噾棰�", + "type": "number" + }, + "amountShouldRefund": { + "description": "搴旈��娆鹃噾棰�", + "type": "number" + }, "client": { "$ref": "#/definitions/model.Client" }, "clientId": { "type": "integer" + }, + "codeStandID": { + "type": "string" }, "createTime": { "type": "string" @@ -12227,6 +12268,9 @@ "description": "閫�璐х姸鎬乮d", "type": "integer" }, + "source": { + "$ref": "#/definitions/model.SalesDetails" + }, "sourceId": { "description": "婧愬崟id", "type": "integer" @@ -12238,6 +12282,9 @@ "$ref": "#/definitions/constvar.SalesReturnSourceType" } ] + }, + "updateTime": { + "type": "string" } } }, @@ -12316,6 +12363,14 @@ "description": "姣斾緥", "type": "number" }, + "principal": { + "description": "鏀舵璐熻矗浜篒D", + "allOf": [ + { + "$ref": "#/definitions/model.User" + } + ] + }, "principalId": { "description": "鏀舵璐熻矗浜篒D", "type": "integer" @@ -12382,17 +12437,29 @@ "clientId": { "type": "integer" }, + "codeStandID": { + "type": "string" + }, "contact": { "$ref": "#/definitions/model.Contact" }, "contactId": { "type": "integer" }, + "createTime": { + "type": "string" + }, + "creatorName": { + "type": "string" + }, "endTime": { "type": "string" }, "id": { "type": "integer" + }, + "member": { + "$ref": "#/definitions/model.User" }, "memberId": { "type": "integer" @@ -12446,6 +12513,9 @@ "type": "string" }, "terms": { + "type": "string" + }, + "updateTime": { "type": "string" } } @@ -12510,11 +12580,20 @@ "clientId": { "type": "integer" }, + "codeStandID": { + "type": "string" + }, "contact": { "$ref": "#/definitions/model.Contact" }, "contactId": { "type": "integer" + }, + "createTime": { + "type": "string" + }, + "creatorName": { + "type": "string" }, "file": { "type": "string" @@ -12569,6 +12648,9 @@ }, "timelyRateId": { "type": "integer" + }, + "updateTime": { + "type": "string" } } }, @@ -12598,12 +12680,21 @@ "description": "瀹㈡埛id", "type": "integer" }, + "codeStandID": { + "type": "string" + }, "contact": { "$ref": "#/definitions/model.Contact" }, "contactId": { "description": "鑱旂郴浜篿d", "type": "integer" + }, + "createTime": { + "type": "string" + }, + "creatorName": { + "type": "string" }, "expectTime": { "description": "甯屾湜澶勭悊鏃堕棿", @@ -12626,6 +12717,9 @@ "id": { "type": "integer" }, + "number": { + "type": "string" + }, "priorityLevel": { "$ref": "#/definitions/model.PriorityLevel" }, @@ -12637,12 +12731,13 @@ "description": "闂鎻忚堪", "type": "string" }, - "product": { - "$ref": "#/definitions/model.Product" + "productName": { + "description": "浜у搧鍚嶇О", + "type": "string" }, - "productId": { - "description": "浜у搧id", - "type": "integer" + "productTypeName": { + "description": "浜у搧鍒嗙被鍚嶇О", + "type": "string" }, "realTime": { "description": "瀹為檯澶勭悊鏃堕棿", @@ -12672,6 +12767,14 @@ "serviceContractId": { "description": "鏈嶅姟鍚堝悓id", "type": "integer" + }, + "serviceMan": { + "description": "鏈嶅姟浜哄憳", + "allOf": [ + { + "$ref": "#/definitions/model.User" + } + ] }, "serviceManId": { "description": "鏈嶅姟浜哄憳", @@ -12716,6 +12819,9 @@ "timeSpentId": { "description": "鑺辫垂鏃堕棿", "type": "integer" + }, + "updateTime": { + "type": "string" } } }, @@ -12782,6 +12888,9 @@ }, "clientId": { "type": "integer" + }, + "codeStandID": { + "type": "string" }, "id": { "type": "integer" @@ -12909,11 +13018,19 @@ "description": "鐗╂枡绫诲瀷", "type": "string" }, + "MaxInventory": { + "description": "鏈�澶у簱瀛�", + "type": "integer" + }, "MinInventory": { "description": "瀹夊叏搴撳瓨", "type": "integer" }, "Name": { + "type": "string" + }, + "Node": { + "description": "澶囨敞", "type": "string" }, "Number": { @@ -12926,6 +13043,14 @@ "SalePrice": { "description": "閿�鍞环鏍�", "type": "number" + }, + "Specs": { + "description": "瑙勬牸", + "type": "string" + }, + "Type": { + "description": "鍨嬪彿", + "type": "string" }, "Unit": { "type": "string" @@ -13006,8 +13131,19 @@ "description": "瀹㈡埛绫诲瀷ID", "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "contact": { "$ref": "#/definitions/request.Contact" + }, + "contact_id": { + "description": "鑱旂郴浜篒D", + "type": "integer" }, "country_id": { "type": "integer" @@ -13146,6 +13282,13 @@ "description": "鎵�灞炲叕鍙窱D", "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "country_id": { "description": "鍥藉ID", "type": "integer" @@ -13201,6 +13344,17 @@ "properties": { "client_id": { "type": "integer" + }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, + "contractName": { + "description": "鍚堝悓鍚嶇О", + "type": "string" }, "file": { "type": "string" @@ -13461,6 +13615,13 @@ "client_id": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "end_time": { "type": "string" }, @@ -13577,6 +13738,13 @@ "client_id": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "conditions": { "type": "string" }, @@ -13597,6 +13765,10 @@ "items": { "$ref": "#/definitions/model.Product" } + }, + "quotationName": { + "description": "鎶ヤ环鍗曞悕绉�", + "type": "string" }, "quotation_status_id": { "type": "integer" @@ -13634,9 +13806,23 @@ "description": "璐︽埛id", "type": "integer" }, + "client": { + "description": "瀹㈡埛id", + "allOf": [ + { + "$ref": "#/definitions/model.Client" + } + ] + }, "clientId": { "description": "瀹㈡埛id", "type": "integer" + }, + "createTime": { + "type": "string" + }, + "creatorName": { + "type": "string" }, "fileId": { "description": "闄勪欢id", @@ -13647,6 +13833,9 @@ }, "moneyType": { "description": "甯佺", + "type": "string" + }, + "number": { "type": "string" }, "paymentType": { @@ -13687,6 +13876,9 @@ "$ref": "#/definitions/constvar.ReceiptSourceType" } ] + }, + "updateTime": { + "type": "string" } } }, @@ -13771,6 +13963,13 @@ }, "client_id": { "type": "integer" + }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" }, "competitors": { "type": "string" @@ -13892,6 +14091,13 @@ "clientId": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "conditions": { "type": "string" }, @@ -13945,6 +14151,13 @@ "city_id": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "contact_name": { "description": "鑱旂郴浜哄鍚�", "type": "string" @@ -13962,6 +14175,10 @@ }, "desc": { "description": "澶囨敞", + "type": "string" + }, + "detail_address": { + "description": "璇︾粏鍦板潃", "type": "string" }, "member_id": { @@ -14060,6 +14277,13 @@ "clientId": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "contactId": { "type": "integer" }, @@ -14090,6 +14314,12 @@ "salesDetailsId": { "type": "integer" }, + "serviceContractStatusId": { + "type": "integer" + }, + "serviceContractTypeId": { + "type": "integer" + }, "serviceTimes": { "type": "integer" }, @@ -14112,10 +14342,10 @@ }, "request.AddServiceContractStatus": { "type": "object", - "required": [ - "name" - ], "properties": { + "id": { + "type": "integer" + }, "name": { "type": "string" } @@ -14158,8 +14388,19 @@ "description": "瀹㈡埛绫诲瀷ID", "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "contact": { "$ref": "#/definitions/request.Contact" + }, + "contact_id": { + "description": "鑱旂郴浜篒D", + "type": "integer" }, "country_id": { "type": "integer" @@ -14244,6 +14485,13 @@ "clientId": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "contactId": { "type": "integer" }, @@ -14305,6 +14553,13 @@ "description": "瀹㈡埛id", "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "contactId": { "description": "鑱旂郴浜篿d", "type": "integer" @@ -14329,9 +14584,13 @@ "description": "闂鎻忚堪", "type": "string" }, - "productId": { - "description": "浜у搧id", - "type": "integer" + "productName": { + "description": "浜у搧鍚嶇О", + "type": "string" + }, + "productTypeName": { + "description": "浜у搧鍒嗙被鍚嶇О", + "type": "string" }, "realTime": { "description": "瀹為檯澶勭悊鏃堕棿", @@ -14452,6 +14711,13 @@ "clientId": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "masterOrderId": { "type": "integer" }, @@ -14560,44 +14826,10 @@ } } }, - "request.ChangePasswordReq": { + "request.CheckClientName": { "type": "object", "properties": { - "newPassword": { - "description": "鏂板瘑鐮�", - "type": "string" - }, - "password": { - "description": "瀵嗙爜", - "type": "string" - } - } - }, - "request.ChangeUserInfo": { - "type": "object", - "properties": { - "email": { - "description": "鐢ㄦ埛閭", - "type": "string" - }, - "headerImg": { - "description": "鐢ㄦ埛澶村儚", - "type": "string" - }, - "id": { - "description": "鐢ㄦ埛ID", - "type": "string" - }, - "nickName": { - "description": "鐢ㄦ埛鏄电О", - "type": "string" - }, - "phone": { - "description": "鐢ㄦ埛鎵嬫満鍙�", - "type": "string" - }, - "pos": { - "description": "鐢ㄦ埛宀椾綅", + "name": { "type": "string" } } @@ -14631,6 +14863,13 @@ "client_id": { "description": "鎵�灞炲叕鍙窱D", "type": "integer" + }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" }, "country_id": { "description": "鍥藉ID", @@ -14704,6 +14943,17 @@ } } }, + "request.DeleteContract": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, "request.DeleteCountry": { "type": "object", "properties": { @@ -14724,7 +14974,40 @@ } } }, + "request.DeleteMasterOrder": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, "request.DeleteOrderManage": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "request.DeleteQuotation": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "request.DeleteSaleChance": { "type": "object", "properties": { "ids": { @@ -14768,12 +15051,14 @@ } } }, - "request.DeleteUserReq": { + "request.DeleteSubOrder": { "type": "object", "properties": { - "userId": { - "description": "鐢ㄦ埛ID", - "type": "string" + "ids": { + "type": "array", + "items": { + "type": "integer" + } } } }, @@ -14812,6 +15097,12 @@ }, "client_status_id": { "type": "integer" + }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "type": "string" }, "contact_id": { "type": "integer" @@ -14863,7 +15154,7 @@ "type": "integer" }, "search_map": { - "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"name\": \"瀹㈡埛鍚嶇О\", \"phone\": \"鎵嬫満鍙风爜\", \"detail_address\":\"璇︾粏鍦板潃\", \"next_visit_time\":\"涓嬪洖鍥炶鏃ユ湡\", \"member_name\": \"閿�鍞礋璐d汉\", \"client_status\": \"瀹㈡埛鐘舵�乗", \"client_level\": \"閲嶈绾у埆\"}", + "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"name\": \"瀹㈡埛鍚嶇О\", \"phone\": \"鎵嬫満鍙风爜\", \"detail_address\":\"璇︾粏鍦板潃\", \"next_visit_time\":\"涓嬪洖鍥炶鏃ユ湡\", \"member_name\": \"閿�鍞礋璐d汉\", \"client_status\": \"瀹㈡埛鐘舵�乗", \"client_level\": \"閲嶈绾у埆\",\"representative\": \"娉曞畾浠h〃浜篭", \"registration_time\": \"娉ㄥ唽鏃堕棿\", \"business_scope\": \"缁忚惀鑼冨洿\", \"remark\": \"澶囨敞\", \"not_admin\":\"1:鎴戠殑瀹㈡埛; 2:admin瀹㈡埛\"}", "type": "object", "additionalProperties": true } @@ -14872,6 +15163,10 @@ "request.GetContactList": { "type": "object", "properties": { + "clientId": { + "description": "瀹㈡埛id", + "type": "integer" + }, "page": { "description": "椤电爜", "type": "integer" @@ -14881,7 +15176,7 @@ "type": "integer" }, "search_map": { - "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"name\": \"瀹㈡埛鍚嶇О\", \"phone\": \"鎵嬫満鍙风爜\", \"detail_address\":\"璇︾粏鍦板潃\", \"next_visit_time\":\"涓嬪洖鍥炶鏃ユ湡\", \"member_name\": \"閿�鍞礋璐d汉\", \"client_status\": \"瀹㈡埛鐘舵�乗", \"client_level\": \"閲嶈绾у埆\", \"is_first\": \"鏄惁鏄瑕佽仈绯讳汉\"}", + "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"name\": \"瀹㈡埛鍚嶇О\", \"phone\": \"鎵嬫満鍙风爜\", \"detail_address\":\"璇︾粏鍦板潃\", \"next_visit_time\":\"涓嬪洖鍥炶鏃ユ湡\", \"member_name\": \"閿�鍞礋璐d汉\", \"client_status\": \"瀹㈡埛鐘舵�乗", \"client_level\": \"閲嶈绾у埆\", \"is_first\": \"鏄惁鏄瑕佽仈绯讳汉\", \"client_id\": \"clientId 鐢ㄤ簬杩斿洖棣栬鑱旂郴浜篭"}", "type": "object", "additionalProperties": true } @@ -14939,9 +15234,33 @@ "type": "integer" }, "search_map": { - "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"topic\": \"璺熻繘涓婚\", \"member_name\": \"璺熻繘浜篭", \"client_name\": \"瀹㈡埛鍚嶇О\", \"client_status\": \"瀹㈡埛鐘舵�乗", \"follow_time\": \"璺熻繘鏃堕棿\", \"next_follow_time\": \"涓嬫璺熻繘鏃堕棿\", \"record\": \"璺熻繘璁板綍\", \"phone\": \"鑱旂郴浜虹數璇漒", \"contact_name\": \"鑱旂郴浜哄鍚峔"}", + "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" + } + ] } } }, @@ -15006,7 +15325,7 @@ "description": "姣忛〉澶у皬", "type": "integer" }, - "searchMap": { + "search_map": { "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"sale_chance_id\": 閿�鍞嚎绱d, \"client_name\": \"瀹㈡埛鍚嶇О\", \"member_name\": \"閿�鍞礋璐d汉\", \"contact_name\": \"鑱旂郴浜篭", \"validity_date\": \"鏈夋晥鏈焅"}", "type": "object", "additionalProperties": true @@ -15034,6 +15353,10 @@ "request.GetSalesDetailsList": { "type": "object", "properties": { + "clientId": { + "description": "瀹㈡埛id", + "type": "integer" + }, "keyword": { "type": "string" }, @@ -15046,6 +15369,10 @@ }, "pageSize": { "description": "姣忛〉澶у皬", + "type": "integer" + }, + "saleChanceId": { + "description": "閿�鍞満浼歩d", "type": "integer" } } @@ -15084,14 +15411,24 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "sourceId": { + "type": "integer" } } }, "request.GetSalesReturnList": { "type": "object", "properties": { + "clientId": { + "description": "瀹㈡埛id", + "type": "integer" + }, "keyword": { "type": "string" + }, + "keywordType": { + "$ref": "#/definitions/constvar.SalesReturnKeywordType" }, "page": { "description": "椤电爜", @@ -15100,12 +15437,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" }, @@ -15122,6 +15490,18 @@ }, "queryClass": { "$ref": "#/definitions/constvar.ServiceContractQueryClass" + }, + "quotationId": { + "description": "鎶ヤ环鍗昳d", + "type": "integer" + }, + "saleChanceId": { + "description": "閿�鍞満浼歩d", + "type": "integer" + }, + "salesDetailsId": { + "description": "鍚堝悓璁㈠崟id", + "type": "integer" } } }, @@ -15216,44 +15596,6 @@ } } }, - "request.GetUserList": { - "type": "object", - "properties": { - "keyword": { - "description": "妯$硦鏌ヨ鍏抽敭瀛�", - "type": "string" - }, - "page": { - "description": "椤电爜", - "type": "integer" - }, - "pageSize": { - "description": "姣忛〉澶у皬", - "type": "integer" - } - } - }, - "request.Login": { - "type": "object", - "properties": { - "captcha": { - "description": "楠岃瘉鐮�", - "type": "string" - }, - "captchaId": { - "description": "楠岃瘉鐮両D", - "type": "string" - }, - "password": { - "description": "瀵嗙爜", - "type": "string" - }, - "username": { - "description": "鐢ㄦ埛鍚�", - "type": "string" - } - } - }, "request.Plan": { "type": "object", "properties": { @@ -15320,52 +15662,6 @@ } } }, - "request.Register": { - "type": "object", - "properties": { - "authorityId": { - "description": "鐢ㄦ埛瑙掕壊ID", - "type": "integer" - }, - "departmentId": { - "type": "integer" - }, - "email": { - "type": "string" - }, - "headerImg": { - "type": "string" - }, - "id": { - "type": "string" - }, - "nickName": { - "type": "string" - }, - "password": { - "type": "string" - }, - "phone": { - "type": "string" - }, - "pos": { - "type": "string" - }, - "rePassword": { - "description": "纭瀵嗙爜", - "type": "string" - }, - "realName": { - "type": "string" - }, - "userType": { - "$ref": "#/definitions/constvar.UserType" - }, - "username": { - "type": "string" - } - } - }, "request.SalesDetails": { "type": "object", "properties": { @@ -15377,6 +15673,13 @@ }, "clientId": { "type": "integer" + }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" }, "conditions": { "type": "string" @@ -15427,6 +15730,10 @@ }, "request.SalesRefund": { "type": "object", + "required": [ + "sourceId", + "sourceType" + ], "properties": { "bankAccountId": { "description": "璐︽埛id", @@ -15435,8 +15742,15 @@ "clientId": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "isInvoice": { - "type": "integer" + "type": "string" }, "memberId": { "type": "integer" @@ -15465,7 +15779,7 @@ "type": "integer" }, "sourceType": { - "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級", + "description": "鏉ユ簮绫诲瀷锛�1閿�鍞��娆惧崟锛�", "allOf": [ { "$ref": "#/definitions/constvar.RefundSourceType" @@ -15479,6 +15793,13 @@ "properties": { "clientId": { "type": "integer" + }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" }, "memberId": { "type": "integer" @@ -15675,8 +15996,19 @@ "description": "瀹㈡埛绫诲瀷ID", "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "contact": { "$ref": "#/definitions/request.Contact" + }, + "contact_id": { + "description": "鑱旂郴浜篒D", + "type": "integer" }, "country_id": { "type": "integer" @@ -15897,6 +16229,13 @@ "description": "鎵�灞炲叕鍙窱D", "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "country_id": { "description": "鍥藉ID", "type": "integer" @@ -15955,6 +16294,17 @@ "properties": { "client_id": { "type": "integer" + }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, + "contractName": { + "description": "鍚堝悓鍚嶇О", + "type": "string" }, "file": { "type": "string" @@ -16350,6 +16700,13 @@ "client_id": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "end_time": { "type": "string" }, @@ -16527,6 +16884,13 @@ "client_id": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "conditions": { "type": "string" }, @@ -16550,6 +16914,10 @@ "items": { "$ref": "#/definitions/model.Product" } + }, + "quotationName": { + "description": "鎶ヤ环鍗曞悕绉�", + "type": "string" }, "quotation_status_id": { "type": "integer" @@ -16605,9 +16973,23 @@ "description": "璐︽埛id", "type": "integer" }, + "client": { + "description": "瀹㈡埛id", + "allOf": [ + { + "$ref": "#/definitions/model.Client" + } + ] + }, "clientId": { "description": "瀹㈡埛id", "type": "integer" + }, + "createTime": { + "type": "string" + }, + "creatorName": { + "type": "string" }, "fileId": { "description": "闄勪欢id", @@ -16618,6 +17000,9 @@ }, "moneyType": { "description": "甯佺", + "type": "string" + }, + "number": { "type": "string" }, "paymentType": { @@ -16658,6 +17043,9 @@ "$ref": "#/definitions/constvar.ReceiptSourceType" } ] + }, + "updateTime": { + "type": "string" } } }, @@ -16849,6 +17237,13 @@ "client_id": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "competitors": { "type": "string" }, @@ -17013,6 +17408,13 @@ "city_id": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "contact_name": { "description": "鑱旂郴浜哄鍚�", "type": "string" @@ -17030,6 +17432,10 @@ }, "desc": { "description": "澶囨敞", + "type": "string" + }, + "detail_address": { + "description": "璇︾粏鍦板潃", "type": "string" }, "id": { @@ -17207,6 +17613,14 @@ "description": "姣斾緥", "type": "number" }, + "principal": { + "description": "鏀舵璐熻矗浜篒D", + "allOf": [ + { + "$ref": "#/definitions/model.User" + } + ] + }, "principalId": { "description": "鏀舵璐熻矗浜篒D", "type": "integer" @@ -17250,6 +17664,13 @@ "clientId": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "contactId": { "type": "integer" }, @@ -17283,6 +17704,12 @@ "salesDetailsId": { "type": "integer" }, + "serviceContractStatusId": { + "type": "integer" + }, + "serviceContractTypeId": { + "type": "integer" + }, "serviceTimes": { "type": "integer" }, @@ -17305,30 +17732,12 @@ }, "request.UpdateServiceContractStatus": { "type": "object", - "required": [ - "id", - "name" - ], "properties": { "id": { "type": "integer" }, "name": { "type": "string" - } - } - }, - "request.UpdateServiceContractStatuss": { - "type": "object", - "required": [ - "service_contract_status" - ], - "properties": { - "service_contract_status": { - "type": "array", - "items": { - "$ref": "#/definitions/request.UpdateServiceContractStatus" - } } } }, @@ -17387,8 +17796,19 @@ "description": "瀹㈡埛绫诲瀷ID", "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "contact": { "$ref": "#/definitions/request.Contact" + }, + "contact_id": { + "description": "鑱旂郴浜篒D", + "type": "integer" }, "country_id": { "type": "integer" @@ -17474,6 +17894,13 @@ "clientId": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "contactId": { "type": "integer" }, @@ -17538,6 +17965,13 @@ "description": "瀹㈡埛id", "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "contactId": { "description": "鑱旂郴浜篿d", "type": "integer" @@ -17565,9 +17999,13 @@ "description": "闂鎻忚堪", "type": "string" }, - "productId": { - "description": "浜у搧id", - "type": "integer" + "productName": { + "description": "浜у搧鍚嶇О", + "type": "string" + }, + "productTypeName": { + "description": "浜у搧鍒嗙被鍚嶇О", + "type": "string" }, "realTime": { "description": "瀹為檯澶勭悊鏃堕棿", @@ -17723,6 +18161,13 @@ "properties": { "clientId": { "type": "integer" + }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" }, "id": { "type": "integer" @@ -17886,6 +18331,17 @@ "type": "array", "items": { "$ref": "#/definitions/model.ClientType" + } + } + } + }, + "response.ContactInformationResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.ContactInformation" } } } @@ -18349,21 +18805,6 @@ } } }, - "response.PageResult": { - "type": "object", - "properties": { - "list": {}, - "page": { - "type": "integer" - }, - "pageSize": { - "type": "integer" - }, - "total": { - "type": "integer" - } - } - }, "response.PlanResponse": { "type": "object", "properties": { @@ -18605,17 +19046,6 @@ } } }, - "response.ServiceContractStatusResponse": { - "type": "object", - "properties": { - "list": { - "type": "array", - "items": { - "$ref": "#/definitions/model.ServiceContractStatus" - } - } - } - }, "response.ServiceContractTypeResponse": { "type": "object", "properties": { @@ -18702,14 +19132,6 @@ "items": { "$ref": "#/definitions/model.TimelyRate" } - } - } - }, - "response.UserResponse": { - "type": "object", - "properties": { - "user": { - "$ref": "#/definitions/model.User" } } } -- Gitblit v1.8.0