From 581cb45bb6a5cb928dfa920abf9c51652aae2da5 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期五, 13 十月 2023 16:39:27 +0800
Subject: [PATCH] 接口白名单
---
docs/docs.go | 2009 ++++++++++++++++++++++++++++++++++++++++++++++++++--------
1 files changed, 1,705 insertions(+), 304 deletions(-)
diff --git a/docs/docs.go b/docs/docs.go
index f31661e..795c9c9 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -664,6 +664,36 @@
}
}
},
+ "/api/client/checkName": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Client"
+ ],
+ "summary": "妫�鏌ュ鎴峰悕绉版槸鍚﹂噸澶�",
+ "parameters": [
+ {
+ "description": "鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.CheckClientName"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
"/api/client/delete": {
"delete": {
"produces": [
@@ -1242,6 +1272,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 +1573,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 +1634,7 @@
}
}
},
- "/api/contract/delete/{id}": {
+ "/api/contract/delete": {
"delete": {
"produces": [
"application/json"
@@ -1536,11 +1645,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 +3360,7 @@
}
},
"/api/invoice/list": {
- "get": {
+ "post": {
"produces": [
"application/json"
],
@@ -3259,43 +3370,13 @@
"summary": "鑾峰彇閿�鍞彂绁ㄥ垪琛�",
"parameters": [
{
- "type": "string",
- "name": "keyword",
- "in": "query"
- },
- {
- "enum": [
- ""
- ],
- "type": "string",
- "x-enum-varnames": [
- "InvoiceKeywordCustomerName"
- ],
- "name": "keywordType",
- "in": "query"
- },
- {
- "type": "integer",
- "description": "椤电爜",
- "name": "page",
- "in": "query"
- },
- {
- "type": "integer",
- "description": "姣忛〉澶у皬",
- "name": "pageSize",
- "in": "query"
- },
- {
- "enum": [
- ""
- ],
- "type": "string",
- "x-enum-varnames": [
- "InvoiceQueryClassExpireLessThen60Days"
- ],
- "name": "queryClass",
- "in": "query"
+ "description": "鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.GetInvoiceList"
+ }
}
],
"responses": {
@@ -3947,7 +4028,7 @@
}
}
},
- "/api/masterOrder/delete/{id}": {
+ "/api/masterOrder/delete": {
"delete": {
"produces": [
"application/json"
@@ -3958,11 +4039,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 +5248,7 @@
}
}
},
- "/api/quotation/delete/{id}": {
+ "/api/quotation/delete": {
"delete": {
"produces": [
"application/json"
@@ -5176,11 +5259,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 +5538,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 +5556,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 +6414,7 @@
}
}
},
- "/api/saleChance/delete/{id}": {
+ "/api/saleChance/delete": {
"delete": {
"produces": [
"application/json"
@@ -6329,11 +6425,13 @@
"summary": "鍒犻櫎閿�鍞満浼�",
"parameters": [
{
- "type": "integer",
"description": "鏌ヨ鍙傛暟",
- "name": "id",
- "in": "path",
- "required": true
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.DeleteSaleChance"
+ }
}
],
"responses": {
@@ -6383,6 +6481,36 @@
}
}
]
+ }
+ }
+ }
+ }
+ },
+ "/api/saleChance/push": {
+ "put": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "SaleChance"
+ ],
+ "summary": "鎺ㄨ繘閿�鍞満浼�",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.PushSaleChance"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
}
}
}
@@ -6680,6 +6808,48 @@
"200": {
"description": "OK",
"schema": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/contextx.Response"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "data": {
+ "$ref": "#/definitions/request.AddSalesDetails"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ "/api/salesDetails/delete": {
+ "delete": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "SalesDetails 閿�鍞槑缁�"
+ ],
+ "summary": "鎵归噺鍒犻櫎閿�鍞槑缁�",
+ "parameters": [
+ {
+ "description": "鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.CommonIds"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
"$ref": "#/definitions/contextx.Response"
}
}
@@ -6954,7 +7124,7 @@
"application/json"
],
"tags": [
- "SalesRefund"
+ "閿�鍞��娆惧崟"
],
"summary": "娣诲姞閿�鍞��娆�",
"parameters": [
@@ -6978,13 +7148,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": [
@@ -7012,7 +7212,7 @@
"application/json"
],
"tags": [
- "SalesRefund"
+ "閿�鍞��娆惧崟"
],
"summary": "閿�鍞��娆惧崟鍒楄〃",
"parameters": [
@@ -7054,7 +7254,7 @@
"application/json"
],
"tags": [
- "SalesRefund"
+ "閿�鍞��娆惧崟"
],
"summary": "鏇存柊閿�鍞��娆�",
"parameters": [
@@ -7084,7 +7284,7 @@
"application/json"
],
"tags": [
- "SalesReturn"
+ "閿�鍞��璐у崟"
],
"summary": "娣诲姞閿�鍞��璐�",
"parameters": [
@@ -7108,13 +7308,43 @@
}
}
},
+ "/api/salesReturn/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/salesReturn/delete/{id}": {
"delete": {
"produces": [
"application/json"
],
"tags": [
- "SalesReturn"
+ "閿�鍞��璐у崟"
],
"summary": "鍒犻櫎閿�鍞��璐�",
"parameters": [
@@ -7142,7 +7372,7 @@
"application/json"
],
"tags": [
- "SalesReturn"
+ "閿�鍞��璐у崟"
],
"summary": "閿�鍞��璐у崟鍒楄〃",
"parameters": [
@@ -7184,7 +7414,7 @@
"application/json"
],
"tags": [
- "SalesReturn"
+ "閿�鍞��璐у崟"
],
"summary": "鏇存柊閿�鍞��璐�",
"parameters": [
@@ -7624,7 +7854,7 @@
}
},
"/api/serviceCollectionPlan/list": {
- "get": {
+ "post": {
"produces": [
"application/json"
],
@@ -7634,10 +7864,13 @@
"summary": "鑾峰彇鏀舵璁″垝鍒楄〃",
"parameters": [
{
- "type": "integer",
- "description": "鏈嶅姟鍚堝悓id",
- "name": "serviceContractId",
- "in": "query"
+ "description": "鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.GetServiceCollectionPlanList"
+ }
}
],
"responses": {
@@ -7733,15 +7966,15 @@
"tags": [
"ServiceContract"
],
- "summary": "鍒犻櫎鏈嶅姟鍚堝悓",
+ "summary": "鎵归噺鍒犻櫎鏈嶅姟鍚堝悓",
"parameters": [
{
- "description": "鏌ヨ鍙傛暟",
+ "description": "鍙傛暟",
"name": "object",
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/request.DeleteServiceContract"
+ "$ref": "#/definitions/request.CommonIds"
}
}
],
@@ -7833,9 +8066,9 @@
"application/json"
],
"tags": [
- "ServiceContractStatus"
+ "鍚堝悓鐘舵��"
],
- "summary": "娣诲姞鏈嶅姟鍚堝悓鐘舵��",
+ "summary": "娣诲姞鍚堝悓鐘舵��",
"parameters": [
{
"description": "鏌ヨ鍙傛暟",
@@ -7863,9 +8096,9 @@
"application/json"
],
"tags": [
- "ServiceContractStatus"
+ "鍚堝悓鐘舵��"
],
- "summary": "鍒犻櫎鏈嶅姟鍚堝悓鐘舵��",
+ "summary": "鍒犻櫎鍚堝悓鐘舵��",
"parameters": [
{
"type": "integer",
@@ -7891,22 +8124,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"
+ }
}
}
}
@@ -7922,9 +8199,9 @@
"application/json"
],
"tags": [
- "ServiceContractStatus"
+ "鍚堝悓鐘舵��"
],
- "summary": "鏇存柊鏈嶅姟鍚堝悓鐘舵��",
+ "summary": "鏇存柊鍚堝悓鐘舵��",
"parameters": [
{
"description": "鏌ヨ鍙傛暟",
@@ -7932,7 +8209,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/request.UpdateServiceContractStatuss"
+ "$ref": "#/definitions/request.UpdateServiceContractStatus"
}
}
],
@@ -8346,6 +8623,36 @@
"required": true,
"schema": {
"$ref": "#/definitions/request.AddServiceOrder"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/serviceOrder/delete": {
+ "delete": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "鏈嶅姟鍗�"
+ ],
+ "summary": "鎵归噺鍒犻櫎鏈嶅姟鍗�",
+ "parameters": [
+ {
+ "description": "鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.CommonIds"
}
}
],
@@ -9125,7 +9432,7 @@
}
}
},
- "/api/subOrder/delete/{id}": {
+ "/api/subOrder/delete": {
"delete": {
"produces": [
"application/json"
@@ -9136,11 +9443,13 @@
"summary": "鍒犻櫎瀛愯鍗�",
"parameters": [
{
- "type": "integer",
"description": "鏌ヨ鍙傛暟",
- "name": "id",
- "in": "path",
- "required": true
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.DeleteSubOrder"
+ }
}
],
"responses": {
@@ -9944,6 +10253,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": [
@@ -9962,18 +10334,36 @@
"BankAccountQueryClassExpireLessThen60Days"
]
},
- "constvar.CollectionStatus": {
+ "constvar.CollectionSourceType": {
"type": "integer",
"enum": [
1,
2
],
"x-enum-comments": {
+ "CollectionSourceTypeSaleDetails": "閿�鍞槑缁�",
+ "CollectionSourceTypeServiceContract": "鏈嶅姟鍚堝悓"
+ },
+ "x-enum-varnames": [
+ "CollectionSourceTypeSaleDetails",
+ "CollectionSourceTypeServiceContract"
+ ]
+ },
+ "constvar.CollectionStatus": {
+ "type": "integer",
+ "enum": [
+ 1,
+ 2,
+ 3
+ ],
+ "x-enum-comments": {
"CollectionStatusCollected": "宸叉敹娆�",
+ "CollectionStatusSubCollected": "閮ㄥ垎鏀舵",
"CollectionStatusUnCollected": "寰呮敹娆�"
},
"x-enum-varnames": [
"CollectionStatusUnCollected",
+ "CollectionStatusSubCollected",
"CollectionStatusCollected"
]
},
@@ -10011,24 +10401,6 @@
],
"x-enum-varnames": [
"FaqQueryClassExpireLessThen60Days"
- ]
- },
- "constvar.InvoiceKeywordType": {
- "type": "string",
- "enum": [
- ""
- ],
- "x-enum-varnames": [
- "InvoiceKeywordCustomerName"
- ]
- },
- "constvar.InvoiceQueryClass": {
- "type": "string",
- "enum": [
- ""
- ],
- "x-enum-varnames": [
- "InvoiceQueryClassExpireLessThen60Days"
]
},
"constvar.InvoiceSourceType": {
@@ -10096,22 +10468,40 @@
"PaymentTypeQueryClassExpireLessThen60Days"
]
},
- "constvar.ReceiptKeywordType": {
- "type": "string",
+ "constvar.ReceiptSourceType": {
+ "type": "integer",
"enum": [
- ""
+ 1,
+ 2,
+ 3,
+ 4,
+ 5
],
+ "x-enum-comments": {
+ "ReceiptSourceTypeChuKuDan": "鍑哄簱鍗昳t",
+ "ReceiptSourceTypeCollectionPlan": "鏀舵璁″垝",
+ "ReceiptSourceTypeInvoice": "閿�鍞彂绁�",
+ "ReceiptSourceTypeSalesDetails": "閿�鍞槑缁嗗崟",
+ "ReceiptSourceTypeServiceContract": "鏈嶅姟鍚堝悓"
+ },
"x-enum-varnames": [
- "ReceiptKeywordCustomerName"
+ "ReceiptSourceTypeSalesDetails",
+ "ReceiptSourceTypeServiceContract",
+ "ReceiptSourceTypeInvoice",
+ "ReceiptSourceTypeCollectionPlan",
+ "ReceiptSourceTypeChuKuDan"
]
},
- "constvar.ReceiptQueryClass": {
- "type": "string",
+ "constvar.RefundSourceType": {
+ "type": "integer",
"enum": [
- ""
+ 1
],
+ "x-enum-comments": {
+ "RefundSourceTypeSalesReturn": "閿�鍞��璐�"
+ },
"x-enum-varnames": [
- "ReceiptQueryClassExpireLessThen60Days"
+ "RefundSourceTypeSalesReturn"
]
},
"constvar.SalesDetailsKeywordType": {
@@ -10129,6 +10519,66 @@
"SalesDetailsKeywordTypeSignTime",
"SalesDetailsKeywordTypePrincipal",
"SalesDetailsKeywordTypeProductName"
+ ]
+ },
+ "constvar.SalesRefundKeywordType": {
+ "type": "string",
+ "enum": [
+ "閿�鍞��璐у崟缂栧彿",
+ "瀹㈡埛鍚嶇О",
+ "閫�娆炬棩鏈�",
+ "璐︽埛",
+ "鏄惁寮�绁�",
+ "浠樻鏂瑰紡",
+ "閿�鍞礋璐d汉",
+ "淇敼鏃堕棿",
+ "浠风◣鍚堣"
+ ],
+ "x-enum-varnames": [
+ "SalesRefundKeywordRefundNumber",
+ "SalesRefundKeywordClientName",
+ "SalesRefundKeywordRefundDate",
+ "SalesRefundKeywordAccount",
+ "SalesRefundKeywordIsInvoice",
+ "SalesRefundKeywordPaymentType",
+ "SalesRefundKeywordPrincipal",
+ "SalesRefundKeywordUpdateAt",
+ "SalesRefundKeywordPriceTotal"
+ ]
+ },
+ "constvar.SalesReturnKeywordType": {
+ "type": "string",
+ "enum": [
+ "閿�鍞��璐у崟缂栧彿",
+ "瀹㈡埛鍚嶇О",
+ "閫�娆炬棩鏈�",
+ "鐘舵��",
+ "閫�鍏ヤ粨搴�",
+ "搴旈��娆�",
+ "宸查��娆�",
+ "閿�鍞礋璐d汉"
+ ],
+ "x-enum-varnames": [
+ "SalesReturnKeywordReturnNumber",
+ "SalesReturnKeywordClientName",
+ "SalesReturnKeywordReturnDate",
+ "SalesReturnKeywordStatus",
+ "SalesReturnKeywordRepository",
+ "SalesReturnKeywordAmountShouldRefund",
+ "SalesReturnKeywordAmountHasRefund",
+ "SalesReturnKeywordPrincipal"
+ ]
+ },
+ "constvar.SalesReturnSourceType": {
+ "type": "integer",
+ "enum": [
+ 1
+ ],
+ "x-enum-comments": {
+ "SalesReturnSourceTypeSaleDetails": "閿�鍞槑缁�"
+ },
+ "x-enum-varnames": [
+ "SalesReturnSourceTypeSaleDetails"
]
},
"constvar.SalesStatus": {
@@ -10195,6 +10645,24 @@
"ServiceContractQueryClassExpireAfter60Day",
"ServiceContractQueryClassExpiredBefore15Day",
"ServiceContractQueryClassExpiredBefore60Day"
+ ]
+ },
+ "constvar.ServiceContractStatusKeywordType": {
+ "type": "string",
+ "enum": [
+ ""
+ ],
+ "x-enum-varnames": [
+ "ServiceContractStatusKeywordCustomerName"
+ ]
+ },
+ "constvar.ServiceContractStatusQueryClass": {
+ "type": "string",
+ "enum": [
+ ""
+ ],
+ "x-enum-varnames": [
+ "ServiceContractStatusQueryClassExpireLessThen60Days"
]
},
"constvar.ServiceFeeKeywordType": {
@@ -10456,6 +10924,9 @@
"client_type_id": {
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"contacts": {
"type": "array",
"items": {
@@ -10466,6 +10937,15 @@
"$ref": "#/definitions/model.Country"
},
"country_id": {
+ "type": "integer"
+ },
+ "createTime": {
+ "type": "string"
+ },
+ "creatorName": {
+ "type": "string"
+ },
+ "creator_id": {
"type": "integer"
},
"detail_address": {
@@ -10545,6 +11025,9 @@
},
"service_member_id": {
"type": "integer"
+ },
+ "updateTime": {
+ "type": "string"
}
}
},
@@ -10602,10 +11085,6 @@
"creator": {
"type": "integer"
},
- "deleted_at": {
- "description": "The date when the item was deleted\nexample: 2023-08-10 15:48:25",
- "type": "string"
- },
"estimated_collection_amount": {
"type": "number"
},
@@ -10643,6 +11122,9 @@
"client_id": {
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"country": {
"$ref": "#/definitions/model.Country"
},
@@ -10660,6 +11142,9 @@
},
"is_first": {
"type": "boolean"
+ },
+ "member": {
+ "$ref": "#/definitions/model.User"
},
"member_id": {
"type": "integer"
@@ -10711,6 +11196,9 @@
"client_id": {
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"country": {
"$ref": "#/definitions/model.Country"
},
@@ -10734,6 +11222,9 @@
},
"is_first": {
"type": "boolean"
+ },
+ "member": {
+ "$ref": "#/definitions/model.User"
},
"member_id": {
"type": "integer"
@@ -10767,17 +11258,45 @@
}
}
},
+ "model.ContactInformation": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ }
+ },
"model.Contract": {
"type": "object",
"properties": {
+ "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",
+ "type": "string"
},
"file": {
"type": "string"
},
"id": {
+ "description": "The ID of the item\nexample: 1",
"type": "integer"
+ },
+ "member": {
+ "$ref": "#/definitions/model.User"
},
"memberId": {
"type": "integer"
@@ -10791,8 +11310,15 @@
"quotationId": {
"type": "integer"
},
+ "serviceContractStatus": {
+ "$ref": "#/definitions/model.ServiceContractStatus"
+ },
"statusId": {
"type": "integer"
+ },
+ "updated_at": {
+ "description": "The date when the item was last updated\nexample: 2023-08-10 15:48:25",
+ "type": "string"
}
}
},
@@ -10832,32 +11358,6 @@
},
"name": {
"type": "string"
- }
- }
- },
- "model.CustomerServiceSheet": {
- "type": "object",
- "properties": {
- "handleStatus": {
- "type": "integer"
- },
- "id": {
- "type": "integer"
- },
- "memberId": {
- "type": "integer"
- },
- "number": {
- "type": "string"
- },
- "priority": {
- "type": "integer"
- },
- "serviceFollowupId": {
- "type": "integer"
- },
- "serviceMode": {
- "type": "integer"
}
}
},
@@ -10925,14 +11425,23 @@
"client_id": {
"type": "integer"
},
+ "client_status": {
+ "$ref": "#/definitions/model.ClientStatus"
+ },
"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"
@@ -10964,8 +11473,14 @@
"record": {
"type": "string"
},
+ "sale_chance": {
+ "$ref": "#/definitions/model.SaleChance"
+ },
"sale_chance_id": {
"type": "integer"
+ },
+ "sales_leads": {
+ "$ref": "#/definitions/model.SalesLeads"
},
"sales_leads_id": {
"type": "integer"
@@ -11117,11 +11632,17 @@
"client_id": {
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"end_time": {
"type": "string"
},
"id": {
"type": "integer"
+ },
+ "member": {
+ "$ref": "#/definitions/model.User"
},
"member_id": {
"type": "integer"
@@ -11339,6 +11860,9 @@
"client_id": {
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"conditions": {
"type": "string"
},
@@ -11354,6 +11878,9 @@
"id": {
"type": "integer"
},
+ "member": {
+ "$ref": "#/definitions/model.User"
+ },
"member_id": {
"type": "integer"
},
@@ -11365,6 +11892,9 @@
"items": {
"$ref": "#/definitions/model.Product"
}
+ },
+ "quotation_status": {
+ "$ref": "#/definitions/model.QuotationStatus"
},
"quotation_status_id": {
"type": "integer"
@@ -11394,13 +11924,34 @@
"model.Receipt": {
"type": "object",
"properties": {
+ "amount": {
+ "description": "鏀舵閲戦",
+ "type": "number"
+ },
+ "bankAccount": {
+ "$ref": "#/definitions/model.BankAccount"
+ },
"bankAccountId": {
"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",
@@ -11413,9 +11964,23 @@
"description": "甯佺",
"type": "string"
},
+ "number": {
+ "type": "string"
+ },
+ "paymentType": {
+ "$ref": "#/definitions/model.PaymentType"
+ },
"paymentTypeId": {
"description": "鏀舵鏂瑰紡ID",
"type": "integer"
+ },
+ "principal": {
+ "description": "璐熻矗浜篿d",
+ "allOf": [
+ {
+ "$ref": "#/definitions/model.User"
+ }
+ ]
},
"principalId": {
"description": "璐熻矗浜篿d",
@@ -11435,7 +12000,14 @@
},
"sourceType": {
"description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級",
- "type": "integer"
+ "allOf": [
+ {
+ "$ref": "#/definitions/constvar.ReceiptSourceType"
+ }
+ ]
+ },
+ "updateTime": {
+ "type": "string"
}
}
},
@@ -11529,6 +12101,9 @@
"client_id": {
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"collection_projections": {
"type": "array",
"items": {
@@ -11571,6 +12146,9 @@
"key_maker": {
"type": "string"
},
+ "member": {
+ "$ref": "#/definitions/model.User"
+ },
"member_id": {
"type": "integer"
},
@@ -11588,6 +12166,9 @@
},
"possibilities_id": {
"type": "integer"
+ },
+ "possibility": {
+ "$ref": "#/definitions/model.Possibility"
},
"process": {
"type": "string"
@@ -11607,19 +12188,28 @@
"region_id": {
"type": "integer"
},
+ "regular_customers": {
+ "$ref": "#/definitions/model.RegularCustomers"
+ },
"regular_customers_id": {
"type": "integer"
},
"remark": {
"type": "string"
},
+ "sale_stage": {
+ "$ref": "#/definitions/model.SaleStage"
+ },
"sale_stage_id": {
"type": "integer"
+ },
+ "sale_type": {
+ "$ref": "#/definitions/model.SaleType"
},
"sale_type_id": {
"type": "integer"
},
- "salesSources": {
+ "sales_sources": {
"$ref": "#/definitions/model.SalesSources"
},
"sales_sources_id": {
@@ -11664,6 +12254,9 @@
"model.SalesDetails": {
"type": "object",
"properties": {
+ "Member": {
+ "$ref": "#/definitions/model.User"
+ },
"address": {
"type": "string"
},
@@ -11682,6 +12275,10 @@
"description": "宸叉敹閲戦",
"type": "number"
},
+ "amountTotal": {
+ "description": "浠风◣鍚堣",
+ "type": "number"
+ },
"amountUnInvoiced": {
"description": "鏈紑绁ㄩ噾棰�",
"type": "number"
@@ -11692,7 +12289,19 @@
"clientId": {
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"conditions": {
+ "type": "string"
+ },
+ "createTime": {
+ "type": "string"
+ },
+ "creatorId": {
+ "type": "integer"
+ },
+ "creatorName": {
"type": "string"
},
"deliveryDate": {
@@ -11740,6 +12349,9 @@
"signTime": {
"type": "string"
},
+ "updateTime": {
+ "type": "string"
+ },
"wechatOrderStatus": {
"$ref": "#/definitions/model.WechatOrderStatus"
},
@@ -11756,6 +12368,9 @@
},
"city_id": {
"type": "integer"
+ },
+ "codeStandID": {
+ "type": "string"
},
"contact_name": {
"type": "string"
@@ -11775,6 +12390,9 @@
"desc": {
"type": "string"
},
+ "detail_address": {
+ "type": "string"
+ },
"followRecord": {
"type": "array",
"items": {
@@ -11783,6 +12401,9 @@
},
"id": {
"type": "integer"
+ },
+ "member": {
+ "$ref": "#/definitions/model.User"
},
"member_id": {
"type": "integer"
@@ -11808,6 +12429,9 @@
"region_id": {
"type": "integer"
},
+ "sales_sources": {
+ "$ref": "#/definitions/model.SalesSources"
+ },
"sales_sources_id": {
"type": "integer"
},
@@ -11819,23 +12443,56 @@
"model.SalesRefund": {
"type": "object",
"properties": {
- "accountId": {
+ "Source": {
+ "$ref": "#/definitions/model.SalesReturn"
+ },
+ "amountTotal": {
+ "description": "浠风◣鍚堣",
+ "type": "number"
+ },
+ "bankAccount": {
+ "$ref": "#/definitions/model.BankAccount"
+ },
+ "bankAccountId": {
+ "description": "璐︽埛id",
"type": "integer"
+ },
+ "client": {
+ "$ref": "#/definitions/model.Client"
},
"clientId": {
"type": "integer"
+ },
+ "codeStandID": {
+ "type": "string"
+ },
+ "createTime": {
+ "type": "string"
+ },
+ "creatorName": {
+ "type": "string"
},
"id": {
"type": "integer"
},
"isInvoice": {
- "type": "integer"
+ "type": "string"
+ },
+ "member": {
+ "$ref": "#/definitions/model.User"
},
"memberId": {
"type": "integer"
},
"number": {
"type": "string"
+ },
+ "paymentType": {
+ "$ref": "#/definitions/model.PaymentType"
+ },
+ "paymentTypeId": {
+ "description": "鏀舵鏂瑰紡ID",
+ "type": "integer"
},
"products": {
"type": "array",
@@ -11849,7 +12506,19 @@
"refundDate": {
"type": "string"
},
- "refundMethod": {
+ "sourceId": {
+ "description": "婧愬崟id",
+ "type": "integer"
+ },
+ "sourceType": {
+ "description": "鏉ユ簮绫诲瀷锛�1閿�鍞��璐э級",
+ "allOf": [
+ {
+ "$ref": "#/definitions/constvar.RefundSourceType"
+ }
+ ]
+ },
+ "updateTime": {
"type": "string"
}
}
@@ -11857,8 +12526,39 @@
"model.SalesReturn": {
"type": "object",
"properties": {
+ "Member": {
+ "$ref": "#/definitions/model.User"
+ },
+ "SalesReturnStatus": {
+ "description": "閫�璐х姸鎬�",
+ "allOf": [
+ {
+ "$ref": "#/definitions/model.SalesReturnStatus"
+ }
+ ]
+ },
+ "amountHasRefund": {
+ "description": "宸查��娆鹃噾棰�",
+ "type": "number"
+ },
+ "amountShouldRefund": {
+ "description": "搴旈��娆鹃噾棰�",
+ "type": "number"
+ },
+ "client": {
+ "$ref": "#/definitions/model.Client"
+ },
"clientId": {
"type": "integer"
+ },
+ "codeStandID": {
+ "type": "string"
+ },
+ "createTime": {
+ "type": "string"
+ },
+ "creatorName": {
+ "type": "string"
},
"id": {
"type": "integer"
@@ -11870,22 +12570,44 @@
"type": "string"
},
"products": {
+ "description": "閫�璐т骇鍝�",
"type": "array",
"items": {
"$ref": "#/definitions/model.Product"
}
},
"reason": {
+ "description": "閫�璐у師鍥�",
"type": "string"
},
"repository": {
"type": "string"
},
"returnDate": {
+ "description": "閫�璐ф棩鏈�",
"type": "string"
},
- "salesReturnStatus": {
+ "salesReturnStatusId": {
+ "description": "閫�璐х姸鎬乮d",
"type": "integer"
+ },
+ "source": {
+ "$ref": "#/definitions/model.SalesDetails"
+ },
+ "sourceId": {
+ "description": "婧愬崟id",
+ "type": "integer"
+ },
+ "sourceType": {
+ "description": "婧愬崟绫诲瀷锛�1閿�鍞槑缁嗭級",
+ "allOf": [
+ {
+ "$ref": "#/definitions/constvar.SalesReturnSourceType"
+ }
+ ]
+ },
+ "updateTime": {
+ "type": "string"
}
}
},
@@ -11929,6 +12651,18 @@
"description": "閲戦",
"type": "number"
},
+ "amountReceivable": {
+ "description": "搴旀敹閲戦",
+ "type": "number"
+ },
+ "amountReceived": {
+ "description": "宸叉敹閲戦",
+ "type": "number"
+ },
+ "amountTotal": {
+ "description": "鎬婚",
+ "type": "number"
+ },
"collectionDate": {
"description": "璁″垝鏀舵鏃ユ湡",
"type": "string"
@@ -11952,6 +12686,14 @@
"description": "姣斾緥",
"type": "number"
},
+ "principal": {
+ "description": "鏀舵璐熻矗浜篒D",
+ "allOf": [
+ {
+ "$ref": "#/definitions/model.User"
+ }
+ ]
+ },
"principalId": {
"description": "鏀舵璐熻矗浜篒D",
"type": "integer"
@@ -11966,10 +12708,14 @@
},
"sourceType": {
"description": "婧愬崟绫诲瀷锛�1閿�鍞槑缁�2鏈嶅姟鍚堝悓3閿�鍞彂绁級",
- "type": "integer"
+ "allOf": [
+ {
+ "$ref": "#/definitions/constvar.CollectionSourceType"
+ }
+ ]
},
"status": {
- "description": "鐘舵�侊紙1鏈敹2宸叉敹锛�",
+ "description": "鐘舵�侊紙1鏈敹2閮ㄥ垎宸叉敹3宸叉敹锛�",
"allOf": [
{
"$ref": "#/definitions/constvar.CollectionStatus"
@@ -12000,6 +12746,10 @@
"description": "宸叉敹閲戦",
"type": "number"
},
+ "amountTotal": {
+ "description": "浠风◣鍚堣",
+ "type": "number"
+ },
"amountUnInvoiced": {
"description": "鏈紑绁ㄩ噾棰�",
"type": "number"
@@ -12010,17 +12760,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"
@@ -12074,6 +12836,9 @@
"type": "string"
},
"terms": {
+ "type": "string"
+ },
+ "updateTime": {
"type": "string"
}
}
@@ -12138,14 +12903,20 @@
"clientId": {
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"contact": {
"$ref": "#/definitions/model.Contact"
},
"contactId": {
"type": "integer"
},
- "customerServiceSheet": {
- "$ref": "#/definitions/model.CustomerServiceSheet"
+ "createTime": {
+ "type": "string"
+ },
+ "creatorName": {
+ "type": "string"
},
"file": {
"type": "string"
@@ -12183,11 +12954,11 @@
"satisfactionId": {
"type": "integer"
},
- "serviceId": {
- "type": "integer"
- },
"serviceOrder": {
"$ref": "#/definitions/model.ServiceOrder"
+ },
+ "serviceOrderId": {
+ "type": "integer"
},
"solveRate": {
"$ref": "#/definitions/model.SolveRate"
@@ -12200,6 +12971,9 @@
},
"timelyRateId": {
"type": "integer"
+ },
+ "updateTime": {
+ "type": "string"
}
}
},
@@ -12229,6 +13003,9 @@
"description": "瀹㈡埛id",
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"contact": {
"$ref": "#/definitions/model.Contact"
},
@@ -12236,12 +13013,11 @@
"description": "鑱旂郴浜篿d",
"type": "integer"
},
- "contract": {
- "$ref": "#/definitions/model.Contract"
+ "createTime": {
+ "type": "string"
},
- "contractId": {
- "description": "鍚堝悓id",
- "type": "integer"
+ "creatorName": {
+ "type": "string"
},
"expectTime": {
"description": "甯屾湜澶勭悊鏃堕棿",
@@ -12264,12 +13040,8 @@
"id": {
"type": "integer"
},
- "orderId": {
- "description": "閿�鍞鍗昳d",
- "type": "integer"
- },
- "orderManage": {
- "$ref": "#/definitions/model.OrderManage"
+ "number": {
+ "type": "string"
},
"priorityLevel": {
"$ref": "#/definitions/model.PriorityLevel"
@@ -12282,12 +13054,13 @@
"description": "闂鎻忚堪",
"type": "string"
},
- "product": {
- "$ref": "#/definitions/model.Product"
+ "productName": {
+ "description": "浜у搧鍚嶇О",
+ "type": "string"
},
- "productId": {
- "description": "浜у搧id",
- "type": "integer"
+ "productTypeName": {
+ "description": "浜у搧鍒嗙被鍚嶇О",
+ "type": "string"
},
"realTime": {
"description": "瀹為檯澶勭悊鏃堕棿",
@@ -12304,6 +13077,28 @@
"description": "閿�鍞満浼歩d",
"type": "integer"
},
+ "salesDetails": {
+ "$ref": "#/definitions/model.SalesDetails"
+ },
+ "salesDetailsId": {
+ "description": "閿�鍞槑缁唅d",
+ "type": "integer"
+ },
+ "serviceContract": {
+ "$ref": "#/definitions/model.ServiceContract"
+ },
+ "serviceContractId": {
+ "description": "鏈嶅姟鍚堝悓id",
+ "type": "integer"
+ },
+ "serviceMan": {
+ "description": "鏈嶅姟浜哄憳",
+ "allOf": [
+ {
+ "$ref": "#/definitions/model.User"
+ }
+ ]
+ },
"serviceManId": {
"description": "鏈嶅姟浜哄憳",
"type": "integer"
@@ -12314,6 +13109,10 @@
},
"serviceOrderStatus": {
"$ref": "#/definitions/model.ServiceOrderStatus"
+ },
+ "serviceOrderStatusId": {
+ "description": "澶勭悊鐘舵��",
+ "type": "integer"
},
"serviceType": {
"$ref": "#/definitions/model.ServiceType"
@@ -12333,10 +13132,6 @@
"description": "鍐呴儴澶囨敞",
"type": "string"
},
- "status": {
- "description": "澶勭悊鐘舵��",
- "type": "integer"
- },
"subject": {
"description": "涓婚",
"type": "string"
@@ -12347,6 +13142,9 @@
"timeSpentId": {
"description": "鑺辫垂鏃堕棿",
"type": "integer"
+ },
+ "updateTime": {
+ "type": "string"
}
}
},
@@ -12414,11 +13212,20 @@
"clientId": {
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"id": {
"type": "integer"
},
+ "masterOrder": {
+ "$ref": "#/definitions/model.MasterOrder"
+ },
"masterOrderId": {
"type": "integer"
+ },
+ "member": {
+ "$ref": "#/definitions/model.User"
},
"memberId": {
"type": "integer"
@@ -12534,11 +13341,19 @@
"description": "鐗╂枡绫诲瀷",
"type": "string"
},
+ "MaxInventory": {
+ "description": "鏈�澶у簱瀛�",
+ "type": "integer"
+ },
"MinInventory": {
"description": "瀹夊叏搴撳瓨",
"type": "integer"
},
"Name": {
+ "type": "string"
+ },
+ "Node": {
+ "description": "澶囨敞",
"type": "string"
},
"Number": {
@@ -12551,6 +13366,14 @@
"SalePrice": {
"description": "閿�鍞环鏍�",
"type": "number"
+ },
+ "Specs": {
+ "description": "瑙勬牸",
+ "type": "string"
+ },
+ "Type": {
+ "description": "鍨嬪彿",
+ "type": "string"
},
"Unit": {
"type": "string"
@@ -12631,8 +13454,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"
@@ -12771,6 +13605,13 @@
"description": "鎵�灞炲叕鍙窱D",
"type": "integer"
},
+ "codeRule": {
+ "$ref": "#/definitions/code.CodeStandard"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"country_id": {
"description": "鍥藉ID",
"type": "integer"
@@ -12826,6 +13667,17 @@
"properties": {
"client_id": {
"type": "integer"
+ },
+ "codeRule": {
+ "$ref": "#/definitions/code.CodeStandard"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
+ "contractName": {
+ "description": "鍚堝悓鍚嶇О",
+ "type": "string"
},
"file": {
"type": "string"
@@ -13086,6 +13938,13 @@
"client_id": {
"type": "integer"
},
+ "codeRule": {
+ "$ref": "#/definitions/code.CodeStandard"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"end_time": {
"type": "string"
},
@@ -13202,6 +14061,13 @@
"client_id": {
"type": "integer"
},
+ "codeRule": {
+ "$ref": "#/definitions/code.CodeStandard"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"conditions": {
"type": "string"
},
@@ -13248,13 +14114,34 @@
"request.AddReceipt": {
"type": "object",
"properties": {
+ "amount": {
+ "description": "鏀舵閲戦",
+ "type": "number"
+ },
+ "bankAccount": {
+ "$ref": "#/definitions/model.BankAccount"
+ },
"bankAccountId": {
"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",
@@ -13267,9 +14154,23 @@
"description": "甯佺",
"type": "string"
},
+ "number": {
+ "type": "string"
+ },
+ "paymentType": {
+ "$ref": "#/definitions/model.PaymentType"
+ },
"paymentTypeId": {
"description": "鏀舵鏂瑰紡ID",
"type": "integer"
+ },
+ "principal": {
+ "description": "璐熻矗浜篿d",
+ "allOf": [
+ {
+ "$ref": "#/definitions/model.User"
+ }
+ ]
},
"principalId": {
"description": "璐熻矗浜篿d",
@@ -13289,7 +14190,14 @@
},
"sourceType": {
"description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級",
- "type": "integer"
+ "allOf": [
+ {
+ "$ref": "#/definitions/constvar.ReceiptSourceType"
+ }
+ ]
+ },
+ "updateTime": {
+ "type": "string"
}
}
},
@@ -13374,6 +14282,13 @@
},
"client_id": {
"type": "integer"
+ },
+ "codeRule": {
+ "$ref": "#/definitions/code.CodeStandard"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
},
"competitors": {
"type": "string"
@@ -13495,6 +14410,13 @@
"clientId": {
"type": "integer"
},
+ "codeRule": {
+ "$ref": "#/definitions/code.CodeStandard"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"conditions": {
"type": "string"
},
@@ -13548,6 +14470,13 @@
"city_id": {
"type": "integer"
},
+ "codeRule": {
+ "$ref": "#/definitions/code.CodeStandard"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"contact_name": {
"description": "鑱旂郴浜哄鍚�",
"type": "string"
@@ -13565,6 +14494,10 @@
},
"desc": {
"description": "澶囨敞",
+ "type": "string"
+ },
+ "detail_address": {
+ "description": "璇︾粏鍦板潃",
"type": "string"
},
"member_id": {
@@ -13663,6 +14596,13 @@
"clientId": {
"type": "integer"
},
+ "codeRule": {
+ "$ref": "#/definitions/code.CodeStandard"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"contactId": {
"type": "integer"
},
@@ -13693,6 +14633,12 @@
"salesDetailsId": {
"type": "integer"
},
+ "serviceContractStatusId": {
+ "type": "integer"
+ },
+ "serviceContractTypeId": {
+ "type": "integer"
+ },
"serviceTimes": {
"type": "integer"
},
@@ -13715,10 +14661,10 @@
},
"request.AddServiceContractStatus": {
"type": "object",
- "required": [
- "name"
- ],
"properties": {
+ "id": {
+ "type": "integer"
+ },
"name": {
"type": "string"
}
@@ -13761,8 +14707,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"
@@ -13847,6 +14804,13 @@
"clientId": {
"type": "integer"
},
+ "codeRule": {
+ "$ref": "#/definitions/code.CodeStandard"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"contactId": {
"type": "integer"
},
@@ -13874,7 +14838,7 @@
"satisfaction": {
"type": "integer"
},
- "serviceId": {
+ "serviceOrderId": {
"type": "integer"
},
"solveRate": {
@@ -13908,12 +14872,15 @@
"description": "瀹㈡埛id",
"type": "integer"
},
+ "codeRule": {
+ "$ref": "#/definitions/code.CodeStandard"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"contactId": {
"description": "鑱旂郴浜篿d",
- "type": "integer"
- },
- "contractId": {
- "description": "鍚堝悓id",
"type": "integer"
},
"expectTime": {
@@ -13928,10 +14895,6 @@
"description": "鏁呴殰绫诲埆id",
"type": "integer"
},
- "orderId": {
- "description": "閿�鍞鍗昳d",
- "type": "integer"
- },
"priorityLevelId": {
"description": "浼樺厛绾у埆id",
"type": "integer"
@@ -13940,9 +14903,13 @@
"description": "闂鎻忚堪",
"type": "string"
},
- "productId": {
- "description": "浜у搧id",
- "type": "integer"
+ "productName": {
+ "description": "浜у搧鍚嶇О",
+ "type": "string"
+ },
+ "productTypeName": {
+ "description": "浜у搧鍒嗙被鍚嶇О",
+ "type": "string"
},
"realTime": {
"description": "瀹為檯澶勭悊鏃堕棿",
@@ -13956,6 +14923,14 @@
"description": "閿�鍞満浼歩d",
"type": "integer"
},
+ "salesDetailsId": {
+ "description": "閿�鍞鍗昳d",
+ "type": "integer"
+ },
+ "serviceContractId": {
+ "description": "鍚堝悓id",
+ "type": "integer"
+ },
"serviceManId": {
"description": "鏈嶅姟浜哄憳",
"type": "integer"
@@ -13963,6 +14938,10 @@
"serviceNumber": {
"description": "鏈嶅姟鍗曠紪鍙�",
"type": "string"
+ },
+ "serviceOrderStatusId": {
+ "description": "澶勭悊鐘舵��",
+ "type": "integer"
},
"serviceTypeId": {
"description": "鏈嶅姟鏂瑰紡id",
@@ -13979,10 +14958,6 @@
"solutionRemark": {
"description": "鍐呴儴澶囨敞",
"type": "string"
- },
- "status": {
- "description": "澶勭悊鐘舵��",
- "type": "integer"
},
"subject": {
"description": "涓婚",
@@ -14054,6 +15029,13 @@
"properties": {
"clientId": {
"type": "integer"
+ },
+ "codeRule": {
+ "$ref": "#/definitions/code.CodeStandard"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
},
"masterOrderId": {
"type": "integer"
@@ -14205,6 +15187,28 @@
}
}
},
+ "request.CheckClientName": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ }
+ }
+ },
+ "request.CommonIds": {
+ "type": "object",
+ "required": [
+ "ids"
+ ],
+ "properties": {
+ "ids": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ }
+ },
"request.Contact": {
"type": "object",
"properties": {
@@ -14220,6 +15224,13 @@
"client_id": {
"description": "鎵�灞炲叕鍙窱D",
"type": "integer"
+ },
+ "codeRule": {
+ "$ref": "#/definitions/code.CodeStandard"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
},
"country_id": {
"description": "鍥藉ID",
@@ -14293,6 +15304,17 @@
}
}
},
+ "request.DeleteContract": {
+ "type": "object",
+ "properties": {
+ "ids": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ }
+ },
"request.DeleteCountry": {
"type": "object",
"properties": {
@@ -14303,6 +15325,17 @@
}
},
"request.DeleteFollowRecord": {
+ "type": "object",
+ "properties": {
+ "ids": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "request.DeleteMasterOrder": {
"type": "object",
"properties": {
"ids": {
@@ -14324,7 +15357,7 @@
}
}
},
- "request.DeleteSalesLeads": {
+ "request.DeleteQuotation": {
"type": "object",
"properties": {
"ids": {
@@ -14335,7 +15368,18 @@
}
}
},
- "request.DeleteServiceContract": {
+ "request.DeleteSaleChance": {
+ "type": "object",
+ "properties": {
+ "ids": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "request.DeleteSalesLeads": {
"type": "object",
"properties": {
"ids": {
@@ -14358,6 +15402,17 @@
}
},
"request.DeleteServiceFollowup": {
+ "type": "object",
+ "properties": {
+ "ids": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "request.DeleteSubOrder": {
"type": "object",
"properties": {
"ids": {
@@ -14413,6 +15468,12 @@
"client_status_id": {
"type": "integer"
},
+ "codeRule": {
+ "$ref": "#/definitions/code.CodeStandard"
+ },
+ "codeStandID": {
+ "type": "string"
+ },
"contact_id": {
"type": "integer"
},
@@ -14463,13 +15524,35 @@
"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
}
}
},
"request.GetContactList": {
+ "type": "object",
+ "properties": {
+ "clientId": {
+ "description": "瀹㈡埛id",
+ "type": "integer"
+ },
+ "page": {
+ "description": "椤电爜",
+ "type": "integer"
+ },
+ "pageSize": {
+ "description": "姣忛〉澶у皬",
+ "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\": \"鏄惁鏄瑕佽仈绯讳汉\", \"client_id\": \"clientId 鐢ㄤ簬杩斿洖棣栬鑱旂郴浜篭"}",
+ "type": "object",
+ "additionalProperties": true
+ }
+ }
+ },
+ "request.GetContractList": {
"type": "object",
"properties": {
"page": {
@@ -14481,25 +15564,9 @@
"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{} {\"member_name\": \"閿�鍞礋璐d汉\", \"number\": \"鍚堝悓缂栧彿\", \"created_at\": \"鍒涘缓鏃堕棿\"}",
"type": "object",
"additionalProperties": true
- }
- }
- },
- "request.GetContractList": {
- "type": "object",
- "properties": {
- "keyword": {
- "type": "string"
- },
- "page": {
- "description": "椤电爜",
- "type": "integer"
- },
- "pageSize": {
- "description": "姣忛〉澶у皬",
- "type": "integer"
}
}
},
@@ -14537,18 +15604,15 @@
"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.GetMasterOrderList": {
+ "request.GetInvoiceList": {
"type": "object",
"properties": {
- "keyword": {
- "type": "string"
- },
"page": {
"description": "椤电爜",
"type": "integer"
@@ -14556,6 +15620,35 @@
"pageSize": {
"description": "姣忛〉澶у皬",
"type": "integer"
+ },
+ "sourceId": {
+ "type": "integer"
+ },
+ "sourceType": {
+ "description": "婧愬崟绫诲瀷(1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓)",
+ "allOf": [
+ {
+ "$ref": "#/definitions/constvar.InvoiceSourceType"
+ }
+ ]
+ }
+ }
+ },
+ "request.GetMasterOrderList": {
+ "type": "object",
+ "properties": {
+ "page": {
+ "description": "椤电爜",
+ "type": "integer"
+ },
+ "pageSize": {
+ "description": "姣忛〉澶у皬",
+ "type": "integer"
+ },
+ "search_map": {
+ "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"number\": \"閿�鍞�诲崟鍙穃", \"client_name\": \"瀹㈡埛鍚嶇О\", \"member_name\": \"閿�鍞礋璐d汉\", \"start_time\": \"寮�濮嬫椂闂碶", \"end_time\": \"缁撴潫鏃堕棿\", \"money\": \"鎬婚噾棰漒", \"member_name\": \"璐熻矗浜篭"}",
+ "type": "object",
+ "additionalProperties": true
}
}
},
@@ -14594,9 +15687,6 @@
"request.GetQuotationList": {
"type": "object",
"properties": {
- "keyword": {
- "type": "string"
- },
"page": {
"description": "椤电爜",
"type": "integer"
@@ -14604,15 +15694,17 @@
"pageSize": {
"description": "姣忛〉澶у皬",
"type": "integer"
+ },
+ "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
}
}
},
"request.GetSaleChanceList": {
"type": "object",
"properties": {
- "keyword": {
- "type": "string"
- },
"page": {
"description": "椤电爜",
"type": "integer"
@@ -14620,12 +15712,21 @@
"pageSize": {
"description": "姣忛〉澶у皬",
"type": "integer"
+ },
+ "search_map": {
+ "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"name\": \"鏈轰細鍚嶇О\", \"client_name\": \"瀹㈡埛鍚嶇О\",\"number\":\"缂栧彿\", \"contact_name\":\"鑱旂郴浜哄鍚峔", \"member_name\": \"閿�鍞礋璐d汉\", \"status\": \"鐘舵�乗", \"sale_stage\": \"闃舵\", \"possibilities\": \"鍙兘鎬", \"expected_time\": \"棰勮鎴愪氦鏃堕棿\", \"budget\": \"璧勯噾缁濆鍊糪", \"projected_amount\": \"棰勮鍚堝悓閲戦\"}",
+ "type": "object",
+ "additionalProperties": true
}
}
},
"request.GetSalesDetailsList": {
"type": "object",
"properties": {
+ "clientId": {
+ "description": "瀹㈡埛id",
+ "type": "integer"
+ },
"keyword": {
"type": "string"
},
@@ -14638,6 +15739,10 @@
},
"pageSize": {
"description": "姣忛〉澶у皬",
+ "type": "integer"
+ },
+ "saleChanceId": {
+ "description": "閿�鍞満浼歩d",
"type": "integer"
}
}
@@ -14666,12 +15771,18 @@
"keyword": {
"type": "string"
},
+ "keywordType": {
+ "$ref": "#/definitions/constvar.SalesRefundKeywordType"
+ },
"page": {
"description": "椤电爜",
"type": "integer"
},
"pageSize": {
"description": "姣忛〉澶у皬",
+ "type": "integer"
+ },
+ "sourceId": {
"type": "integer"
}
}
@@ -14679,8 +15790,15 @@
"request.GetSalesReturnList": {
"type": "object",
"properties": {
+ "clientId": {
+ "description": "瀹㈡埛id",
+ "type": "integer"
+ },
"keyword": {
"type": "string"
+ },
+ "keywordType": {
+ "$ref": "#/definitions/constvar.SalesReturnKeywordType"
},
"page": {
"description": "椤电爜",
@@ -14689,12 +15807,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"
},
@@ -14711,6 +15860,18 @@
},
"queryClass": {
"$ref": "#/definitions/constvar.ServiceContractQueryClass"
+ },
+ "quotationId": {
+ "description": "鎶ヤ环鍗昳d",
+ "type": "integer"
+ },
+ "saleChanceId": {
+ "description": "閿�鍞満浼歩d",
+ "type": "integer"
+ },
+ "salesDetailsId": {
+ "description": "鍚堝悓璁㈠崟id",
+ "type": "integer"
}
}
},
@@ -14752,6 +15913,10 @@
"pageSize": {
"description": "姣忛〉澶у皬",
"type": "integer"
+ },
+ "serviceOrderId": {
+ "description": "鏈嶅姟鍥炶鍗昳d",
+ "type": "integer"
}
}
},
@@ -14774,15 +15939,18 @@
},
"queryClass": {
"$ref": "#/definitions/constvar.ServiceOrderQueryClass"
+ },
+ "salesDetailsId": {
+ "type": "integer"
+ },
+ "serviceContractId": {
+ "type": "integer"
}
}
},
"request.GetSubOrderList": {
"type": "object",
"properties": {
- "keyword": {
- "type": "string"
- },
"page": {
"description": "椤电爜",
"type": "integer"
@@ -14790,6 +15958,11 @@
"pageSize": {
"description": "姣忛〉澶у皬",
"type": "integer"
+ },
+ "search_map": {
+ "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"number\": \"閿�鍞瓙鍗曞彿\", \"client_name\": \"瀹㈡埛鍚嶇О\", \"master_order_number\": \"閿�鍞�诲崟鍙穃", \"member_name\": \"閿�鍞礋璐d汉\", \"master_order_id\": \"閿�鍞�诲崟id\"}",
+ "type": "object",
+ "additionalProperties": true
}
}
},
@@ -14859,6 +16032,21 @@
"type": "string"
},
"subOrderId": {
+ "type": "integer"
+ }
+ }
+ },
+ "request.PushSaleChance": {
+ "type": "object",
+ "required": [
+ "id",
+ "step"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "step": {
"type": "integer"
}
}
@@ -14940,6 +16128,13 @@
"clientId": {
"type": "integer"
},
+ "codeRule": {
+ "$ref": "#/definitions/code.CodeStandard"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"conditions": {
"type": "string"
},
@@ -14989,21 +16184,37 @@
},
"request.SalesRefund": {
"type": "object",
+ "required": [
+ "sourceId",
+ "sourceType"
+ ],
"properties": {
- "accountId": {
+ "bankAccountId": {
+ "description": "璐︽埛id",
"type": "integer"
},
"clientId": {
"type": "integer"
},
+ "codeRule": {
+ "$ref": "#/definitions/code.CodeStandard"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"isInvoice": {
- "type": "integer"
+ "type": "string"
},
"memberId": {
"type": "integer"
},
"number": {
"type": "string"
+ },
+ "paymentTypeId": {
+ "description": "鏀舵鏂瑰紡ID",
+ "type": "integer"
},
"products": {
"type": "array",
@@ -15017,8 +16228,17 @@
"refundDate": {
"type": "string"
},
- "refundMethod": {
- "type": "string"
+ "sourceId": {
+ "description": "婧愬崟id",
+ "type": "integer"
+ },
+ "sourceType": {
+ "description": "鏉ユ簮绫诲瀷锛�1閿�鍞��娆惧崟锛�",
+ "allOf": [
+ {
+ "$ref": "#/definitions/constvar.RefundSourceType"
+ }
+ ]
}
}
},
@@ -15028,6 +16248,13 @@
"clientId": {
"type": "integer"
},
+ "codeRule": {
+ "$ref": "#/definitions/code.CodeStandard"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"memberId": {
"type": "integer"
},
@@ -15035,22 +16262,38 @@
"type": "string"
},
"products": {
+ "description": "閫�璐т骇鍝�",
"type": "array",
"items": {
"$ref": "#/definitions/model.Product"
}
},
"reason": {
+ "description": "閫�璐у師鍥�",
"type": "string"
},
"repository": {
"type": "string"
},
"returnDate": {
+ "description": "閫�璐ф棩鏈�",
"type": "string"
},
- "status": {
+ "salesReturnStatusId": {
+ "description": "閫�璐х姸鎬乮d",
"type": "integer"
+ },
+ "sourceId": {
+ "description": "婧愬崟id",
+ "type": "integer"
+ },
+ "sourceType": {
+ "description": "婧愬崟绫诲瀷锛�1閿�鍞槑缁嗭級",
+ "allOf": [
+ {
+ "$ref": "#/definitions/constvar.SalesReturnSourceType"
+ }
+ ]
}
}
},
@@ -15207,8 +16450,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"
@@ -15429,6 +16683,13 @@
"description": "鎵�灞炲叕鍙窱D",
"type": "integer"
},
+ "codeRule": {
+ "$ref": "#/definitions/code.CodeStandard"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"country_id": {
"description": "鍥藉ID",
"type": "integer"
@@ -15487,6 +16748,17 @@
"properties": {
"client_id": {
"type": "integer"
+ },
+ "codeRule": {
+ "$ref": "#/definitions/code.CodeStandard"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
+ "contractName": {
+ "description": "鍚堝悓鍚嶇О",
+ "type": "string"
},
"file": {
"type": "string"
@@ -15882,6 +17154,13 @@
"client_id": {
"type": "integer"
},
+ "codeRule": {
+ "$ref": "#/definitions/code.CodeStandard"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"end_time": {
"type": "string"
},
@@ -16059,6 +17338,13 @@
"client_id": {
"type": "integer"
},
+ "codeRule": {
+ "$ref": "#/definitions/code.CodeStandard"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"conditions": {
"type": "string"
},
@@ -16126,13 +17412,34 @@
"request.UpdateReceipt": {
"type": "object",
"properties": {
+ "amount": {
+ "description": "鏀舵閲戦",
+ "type": "number"
+ },
+ "bankAccount": {
+ "$ref": "#/definitions/model.BankAccount"
+ },
"bankAccountId": {
"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",
@@ -16145,9 +17452,23 @@
"description": "甯佺",
"type": "string"
},
+ "number": {
+ "type": "string"
+ },
+ "paymentType": {
+ "$ref": "#/definitions/model.PaymentType"
+ },
"paymentTypeId": {
"description": "鏀舵鏂瑰紡ID",
"type": "integer"
+ },
+ "principal": {
+ "description": "璐熻矗浜篿d",
+ "allOf": [
+ {
+ "$ref": "#/definitions/model.User"
+ }
+ ]
},
"principalId": {
"description": "璐熻矗浜篿d",
@@ -16167,7 +17488,14 @@
},
"sourceType": {
"description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級",
- "type": "integer"
+ "allOf": [
+ {
+ "$ref": "#/definitions/constvar.ReceiptSourceType"
+ }
+ ]
+ },
+ "updateTime": {
+ "type": "string"
}
}
},
@@ -16359,6 +17687,13 @@
"client_id": {
"type": "integer"
},
+ "codeRule": {
+ "$ref": "#/definitions/code.CodeStandard"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"competitors": {
"type": "string"
},
@@ -16523,6 +17858,13 @@
"city_id": {
"type": "integer"
},
+ "codeRule": {
+ "$ref": "#/definitions/code.CodeStandard"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"contact_name": {
"description": "鑱旂郴浜哄鍚�",
"type": "string"
@@ -16540,6 +17882,10 @@
},
"desc": {
"description": "澶囨敞",
+ "type": "string"
+ },
+ "detail_address": {
+ "description": "璇︾粏鍦板潃",
"type": "string"
},
"id": {
@@ -16682,6 +18028,18 @@
"description": "閲戦",
"type": "number"
},
+ "amountReceivable": {
+ "description": "搴旀敹閲戦",
+ "type": "number"
+ },
+ "amountReceived": {
+ "description": "宸叉敹閲戦",
+ "type": "number"
+ },
+ "amountTotal": {
+ "description": "鎬婚",
+ "type": "number"
+ },
"collectionDate": {
"description": "璁″垝鏀舵鏃ユ湡",
"type": "string"
@@ -16705,6 +18063,14 @@
"description": "姣斾緥",
"type": "number"
},
+ "principal": {
+ "description": "鏀舵璐熻矗浜篒D",
+ "allOf": [
+ {
+ "$ref": "#/definitions/model.User"
+ }
+ ]
+ },
"principalId": {
"description": "鏀舵璐熻矗浜篒D",
"type": "integer"
@@ -16719,10 +18085,14 @@
},
"sourceType": {
"description": "婧愬崟绫诲瀷锛�1閿�鍞槑缁�2鏈嶅姟鍚堝悓3閿�鍞彂绁級",
- "type": "integer"
+ "allOf": [
+ {
+ "$ref": "#/definitions/constvar.CollectionSourceType"
+ }
+ ]
},
"status": {
- "description": "鐘舵�侊紙1鏈敹2宸叉敹锛�",
+ "description": "鐘舵�侊紙1鏈敹2閮ㄥ垎宸叉敹3宸叉敹锛�",
"allOf": [
{
"$ref": "#/definitions/constvar.CollectionStatus"
@@ -16743,6 +18113,13 @@
"properties": {
"clientId": {
"type": "integer"
+ },
+ "codeRule": {
+ "$ref": "#/definitions/code.CodeStandard"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
},
"contactId": {
"type": "integer"
@@ -16777,6 +18154,12 @@
"salesDetailsId": {
"type": "integer"
},
+ "serviceContractStatusId": {
+ "type": "integer"
+ },
+ "serviceContractTypeId": {
+ "type": "integer"
+ },
"serviceTimes": {
"type": "integer"
},
@@ -16799,30 +18182,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"
- }
}
}
},
@@ -16881,8 +18246,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"
@@ -16968,6 +18344,13 @@
"clientId": {
"type": "integer"
},
+ "codeRule": {
+ "$ref": "#/definitions/code.CodeStandard"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"contactId": {
"type": "integer"
},
@@ -16998,7 +18381,7 @@
"satisfaction": {
"type": "integer"
},
- "serviceId": {
+ "serviceOrderId": {
"type": "integer"
},
"solveRate": {
@@ -17032,12 +18415,15 @@
"description": "瀹㈡埛id",
"type": "integer"
},
+ "codeRule": {
+ "$ref": "#/definitions/code.CodeStandard"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"contactId": {
"description": "鑱旂郴浜篿d",
- "type": "integer"
- },
- "contractId": {
- "description": "鍚堝悓id",
"type": "integer"
},
"expectTime": {
@@ -17055,10 +18441,6 @@
"id": {
"type": "integer"
},
- "orderId": {
- "description": "閿�鍞鍗昳d",
- "type": "integer"
- },
"priorityLevelId": {
"description": "浼樺厛绾у埆id",
"type": "integer"
@@ -17067,9 +18449,13 @@
"description": "闂鎻忚堪",
"type": "string"
},
- "productId": {
- "description": "浜у搧id",
- "type": "integer"
+ "productName": {
+ "description": "浜у搧鍚嶇О",
+ "type": "string"
+ },
+ "productTypeName": {
+ "description": "浜у搧鍒嗙被鍚嶇О",
+ "type": "string"
},
"realTime": {
"description": "瀹為檯澶勭悊鏃堕棿",
@@ -17083,6 +18469,14 @@
"description": "閿�鍞満浼歩d",
"type": "integer"
},
+ "salesDetailsId": {
+ "description": "閿�鍞鍗昳d",
+ "type": "integer"
+ },
+ "serviceContractId": {
+ "description": "鍚堝悓id",
+ "type": "integer"
+ },
"serviceManId": {
"description": "鏈嶅姟浜哄憳",
"type": "integer"
@@ -17090,6 +18484,10 @@
"serviceNumber": {
"description": "鏈嶅姟鍗曠紪鍙�",
"type": "string"
+ },
+ "serviceOrderStatusId": {
+ "description": "澶勭悊鐘舵��",
+ "type": "integer"
},
"serviceTypeId": {
"description": "鏈嶅姟鏂瑰紡id",
@@ -17106,10 +18504,6 @@
"solutionRemark": {
"description": "鍐呴儴澶囨敞",
"type": "string"
- },
- "status": {
- "description": "澶勭悊鐘舵��",
- "type": "integer"
},
"subject": {
"description": "涓婚",
@@ -17217,6 +18611,13 @@
"properties": {
"clientId": {
"type": "integer"
+ },
+ "codeRule": {
+ "$ref": "#/definitions/code.CodeStandard"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
},
"id": {
"type": "integer"
@@ -17380,6 +18781,17 @@
"type": "array",
"items": {
"$ref": "#/definitions/model.ClientType"
+ }
+ }
+ }
+ },
+ "response.ContactInformationResponse": {
+ "type": "object",
+ "properties": {
+ "list": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.ContactInformation"
}
}
}
@@ -18095,17 +19507,6 @@
"type": "array",
"items": {
"$ref": "#/definitions/model.Satisfaction"
- }
- }
- }
- },
- "response.ServiceContractStatusResponse": {
- "type": "object",
- "properties": {
- "list": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/model.ServiceContractStatus"
}
}
}
--
Gitblit v1.8.0