From 20f6ea1b89070f17b1d9f47e9c5e349f0c87c37d Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期四, 24 八月 2023 11:03:55 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
docs/docs.go | 1207 ++++++++++++++++++++++++++++++++++++++++++++++++--------
1 files changed, 1,024 insertions(+), 183 deletions(-)
diff --git a/docs/docs.go b/docs/docs.go
index b96c515..e7b3a29 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,127 @@
}
}
},
+ "/api/collectionProjection/add": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "CollectionProjection"
+ ],
+ "summary": "娣诲姞鏀舵棰勬祴",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.AddCollectionProjection"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/collectionProjection/delete/{id}": {
+ "delete": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "CollectionProjection"
+ ],
+ "summary": "鍒犻櫎鏀舵棰勬祴",
+ "parameters": [
+ {
+ "type": "integer",
+ "description": "鏌ヨ鍙傛暟",
+ "name": "id",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/collectionProjection/list": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "CollectionProjection"
+ ],
+ "summary": "鑾峰彇鏀舵棰勬祴鍒楄〃",
+ "parameters": [
+ {
+ "type": "integer",
+ "description": "椤电爜",
+ "name": "page",
+ "in": "query"
+ },
+ {
+ "type": "integer",
+ "description": "姣忛〉澶у皬",
+ "name": "pageSize",
+ "in": "query"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/collectionProjection/update": {
+ "put": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "CollectionProjection"
+ ],
+ "summary": "鏇存柊鏀舵棰勬祴",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.UpdateCollectionProjection"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
"/api/contact/add": {
"post": {
"produces": [
@@ -1374,6 +1525,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": [
@@ -1404,7 +1586,7 @@
}
}
},
- "/api/contract/delete/{id}": {
+ "/api/contract/delete": {
"delete": {
"produces": [
"application/json"
@@ -1415,11 +1597,13 @@
"summary": "鍒犻櫎鍚堝悓",
"parameters": [
{
- "type": "integer",
"description": "鏌ヨ鍙傛暟",
- "name": "id",
- "in": "path",
- "required": true
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.DeleteContract"
+ }
}
],
"responses": {
@@ -3826,7 +4010,7 @@
}
}
},
- "/api/masterOrder/delete/{id}": {
+ "/api/masterOrder/delete": {
"delete": {
"produces": [
"application/json"
@@ -3837,11 +4021,13 @@
"summary": "鍒犻櫎涓昏鍗�",
"parameters": [
{
- "type": "integer",
"description": "鏌ヨ鍙傛暟",
- "name": "id",
- "in": "path",
- "required": true
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.DeleteMasterOrder"
+ }
}
],
"responses": {
@@ -5044,7 +5230,7 @@
}
}
},
- "/api/quotation/delete/{id}": {
+ "/api/quotation/delete": {
"delete": {
"produces": [
"application/json"
@@ -5055,11 +5241,13 @@
"summary": "鍒犻櫎鎶ヤ环鍗�",
"parameters": [
{
- "type": "integer",
"description": "鏌ヨ鍙傛暟",
- "name": "id",
- "in": "path",
- "required": true
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.DeleteQuotation"
+ }
}
],
"responses": {
@@ -6197,7 +6385,7 @@
}
}
},
- "/api/saleChance/delete/{id}": {
+ "/api/saleChance/delete": {
"delete": {
"produces": [
"application/json"
@@ -6208,11 +6396,13 @@
"summary": "鍒犻櫎閿�鍞満浼�",
"parameters": [
{
- "type": "integer",
"description": "鏌ヨ鍙傛暟",
- "name": "id",
- "in": "path",
- "required": true
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.DeleteSaleChance"
+ }
}
],
"responses": {
@@ -6262,6 +6452,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"
}
}
}
@@ -6565,6 +6785,36 @@
}
}
},
+ "/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"
+ }
+ }
+ }
+ }
+ },
"/api/salesDetails/delete/{id}": {
"delete": {
"produces": [
@@ -6833,7 +7083,7 @@
"application/json"
],
"tags": [
- "SalesRefund"
+ "閿�鍞��娆惧崟"
],
"summary": "娣诲姞閿�鍞��娆�",
"parameters": [
@@ -6857,13 +7107,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": [
@@ -6891,7 +7171,7 @@
"application/json"
],
"tags": [
- "SalesRefund"
+ "閿�鍞��娆惧崟"
],
"summary": "閿�鍞��娆惧崟鍒楄〃",
"parameters": [
@@ -6933,7 +7213,7 @@
"application/json"
],
"tags": [
- "SalesRefund"
+ "閿�鍞��娆惧崟"
],
"summary": "鏇存柊閿�鍞��娆�",
"parameters": [
@@ -6963,7 +7243,7 @@
"application/json"
],
"tags": [
- "SalesReturn"
+ "閿�鍞��璐у崟"
],
"summary": "娣诲姞閿�鍞��璐�",
"parameters": [
@@ -6987,13 +7267,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": [
@@ -7021,7 +7331,7 @@
"application/json"
],
"tags": [
- "SalesReturn"
+ "閿�鍞��璐у崟"
],
"summary": "閿�鍞��璐у崟鍒楄〃",
"parameters": [
@@ -7063,7 +7373,7 @@
"application/json"
],
"tags": [
- "SalesReturn"
+ "閿�鍞��璐у崟"
],
"summary": "鏇存柊閿�鍞��璐�",
"parameters": [
@@ -7612,15 +7922,15 @@
"tags": [
"ServiceContract"
],
- "summary": "鍒犻櫎鏈嶅姟鍚堝悓",
+ "summary": "鎵归噺鍒犻櫎鏈嶅姟鍚堝悓",
"parameters": [
{
- "description": "鏌ヨ鍙傛暟",
+ "description": "鍙傛暟",
"name": "object",
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/request.DeleteServiceContract"
+ "$ref": "#/definitions/request.CommonIds"
}
}
],
@@ -7712,9 +8022,9 @@
"application/json"
],
"tags": [
- "ServiceContractStatus"
+ "鍚堝悓鐘舵��"
],
- "summary": "娣诲姞鏈嶅姟鍚堝悓鐘舵��",
+ "summary": "娣诲姞鍚堝悓鐘舵��",
"parameters": [
{
"description": "鏌ヨ鍙傛暟",
@@ -7742,9 +8052,9 @@
"application/json"
],
"tags": [
- "ServiceContractStatus"
+ "鍚堝悓鐘舵��"
],
- "summary": "鍒犻櫎鏈嶅姟鍚堝悓鐘舵��",
+ "summary": "鍒犻櫎鍚堝悓鐘舵��",
"parameters": [
{
"type": "integer",
@@ -7770,22 +8080,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"
+ }
}
}
}
@@ -7801,9 +8155,9 @@
"application/json"
],
"tags": [
- "ServiceContractStatus"
+ "鍚堝悓鐘舵��"
],
- "summary": "鏇存柊鏈嶅姟鍚堝悓鐘舵��",
+ "summary": "鏇存柊鍚堝悓鐘舵��",
"parameters": [
{
"description": "鏌ヨ鍙傛暟",
@@ -7811,7 +8165,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/request.UpdateServiceContractStatuss"
+ "$ref": "#/definitions/request.UpdateServiceContractStatus"
}
}
],
@@ -8225,6 +8579,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"
}
}
],
@@ -9004,7 +9388,7 @@
}
}
},
- "/api/subOrder/delete/{id}": {
+ "/api/subOrder/delete": {
"delete": {
"produces": [
"application/json"
@@ -9015,11 +9399,13 @@
"summary": "鍒犻櫎瀛愯鍗�",
"parameters": [
{
- "type": "integer",
"description": "鏌ヨ鍙傛暟",
- "name": "id",
- "in": "path",
- "required": true
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.DeleteSubOrder"
+ }
}
],
"responses": {
@@ -10057,6 +10443,54 @@
"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": [
@@ -10133,6 +10567,24 @@
"ServiceContractQueryClassExpireAfter60Day",
"ServiceContractQueryClassExpiredBefore15Day",
"ServiceContractQueryClassExpiredBefore60Day"
+ ]
+ },
+ "constvar.ServiceContractStatusKeywordType": {
+ "type": "string",
+ "enum": [
+ ""
+ ],
+ "x-enum-varnames": [
+ "ServiceContractStatusKeywordCustomerName"
+ ]
+ },
+ "constvar.ServiceContractStatusQueryClass": {
+ "type": "string",
+ "enum": [
+ ""
+ ],
+ "x-enum-varnames": [
+ "ServiceContractStatusQueryClassExpireLessThen60Days"
]
},
"constvar.ServiceFeeKeywordType": {
@@ -10361,6 +10813,10 @@
"model.Client": {
"type": "object",
"properties": {
+ "_": {
+ "description": "The date when the item was deleted\nexample: 2023-08-10 15:48:25",
+ "type": "string"
+ },
"business_scope": {
"type": "string"
},
@@ -10406,6 +10862,13 @@
"country_id": {
"type": "integer"
},
+ "created_at": {
+ "description": "The date when the item was created\nexample: 2023-08-10 15:48:25",
+ "type": "string"
+ },
+ "creator_id": {
+ "type": "integer"
+ },
"detail_address": {
"type": "string"
},
@@ -10428,6 +10891,7 @@
}
},
"id": {
+ "description": "The ID of the item\nexample: 1",
"type": "integer"
},
"industry": {
@@ -10483,6 +10947,10 @@
},
"service_member_id": {
"type": "integer"
+ },
+ "updated_at": {
+ "description": "The date when the item was last updated\nexample: 2023-08-10 15:48:25",
+ "type": "string"
}
}
},
@@ -10530,6 +10998,42 @@
}
}
},
+ "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"
+ },
+ "creator": {
+ "type": "integer"
+ },
+ "estimated_collection_amount": {
+ "type": "number"
+ },
+ "estimated_collection_date": {
+ "type": "string"
+ },
+ "id": {
+ "description": "The ID of the item\nexample: 1",
+ "type": "integer"
+ },
+ "modifier": {
+ "type": "integer"
+ },
+ "sale_chance_id": {
+ "type": "integer"
+ },
+ "updated_at": {
+ "description": "The date when the item was last updated\nexample: 2023-08-10 15:48:25",
+ "type": "string"
+ }
+ }
+ },
"model.Contact": {
"type": "object",
"properties": {
@@ -10562,6 +11066,9 @@
},
"is_first": {
"type": "boolean"
+ },
+ "member": {
+ "$ref": "#/definitions/model.User"
},
"member_id": {
"type": "integer"
@@ -10637,6 +11144,9 @@
"is_first": {
"type": "boolean"
},
+ "member": {
+ "$ref": "#/definitions/model.User"
+ },
"member_id": {
"type": "integer"
},
@@ -10669,17 +11179,43 @@
}
}
},
+ "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"
+ },
+ "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"
@@ -10693,8 +11229,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"
}
}
},
@@ -10734,32 +11277,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"
}
}
},
@@ -10827,6 +11344,9 @@
"client_id": {
"type": "integer"
},
+ "client_status": {
+ "$ref": "#/definitions/model.ClientStatus"
+ },
"client_status_id": {
"type": "integer"
},
@@ -10835,6 +11355,9 @@
},
"contact_id": {
"type": "integer"
+ },
+ "contact_information": {
+ "$ref": "#/definitions/model.ContactInformation"
},
"contact_information_id": {
"type": "integer"
@@ -10866,8 +11389,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"
@@ -11024,6 +11553,9 @@
},
"id": {
"type": "integer"
+ },
+ "member": {
+ "$ref": "#/definitions/model.User"
},
"member_id": {
"type": "integer"
@@ -11256,11 +11788,23 @@
"id": {
"type": "integer"
},
+ "member": {
+ "$ref": "#/definitions/model.User"
+ },
"member_id": {
"type": "integer"
},
"number": {
"type": "string"
+ },
+ "products": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Product"
+ }
+ },
+ "quotation_status": {
+ "$ref": "#/definitions/model.QuotationStatus"
},
"quotation_status_id": {
"type": "integer"
@@ -11300,6 +11844,14 @@
"bankAccountId": {
"description": "璐︽埛id",
"type": "integer"
+ },
+ "client": {
+ "description": "瀹㈡埛id",
+ "allOf": [
+ {
+ "$ref": "#/definitions/model.Client"
+ }
+ ]
},
"clientId": {
"description": "瀹㈡埛id",
@@ -11447,6 +11999,12 @@
"client_id": {
"type": "integer"
},
+ "collection_projections": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.CollectionProjection"
+ }
+ },
"competitors": {
"type": "string"
},
@@ -11483,6 +12041,9 @@
"key_maker": {
"type": "string"
},
+ "member": {
+ "$ref": "#/definitions/model.User"
+ },
"member_id": {
"type": "integer"
},
@@ -11500,6 +12061,9 @@
},
"possibilities_id": {
"type": "integer"
+ },
+ "possibility": {
+ "$ref": "#/definitions/model.Possibility"
},
"process": {
"type": "string"
@@ -11519,19 +12083,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": {
@@ -11668,6 +12241,9 @@
"signTime": {
"type": "string"
},
+ "updateTime": {
+ "type": "string"
+ },
"wechatOrderStatus": {
"$ref": "#/definitions/model.WechatOrderStatus"
},
@@ -11712,6 +12288,9 @@
"id": {
"type": "integer"
},
+ "member": {
+ "$ref": "#/definitions/model.User"
+ },
"member_id": {
"type": "integer"
},
@@ -11736,6 +12315,9 @@
"region_id": {
"type": "integer"
},
+ "sales_sources": {
+ "$ref": "#/definitions/model.SalesSources"
+ },
"sales_sources_id": {
"type": "integer"
},
@@ -11747,6 +12329,10 @@
"model.SalesRefund": {
"type": "object",
"properties": {
+ "amountTotal": {
+ "description": "浠风◣鍚堣",
+ "type": "number"
+ },
"bankAccount": {
"$ref": "#/definitions/model.BankAccount"
},
@@ -11760,11 +12346,20 @@
"clientId": {
"type": "integer"
},
+ "createTime": {
+ "type": "string"
+ },
+ "creatorName": {
+ "type": "string"
+ },
"id": {
"type": "integer"
},
"isInvoice": {
- "type": "integer"
+ "type": "string"
+ },
+ "member": {
+ "$ref": "#/definitions/model.User"
},
"memberId": {
"type": "integer"
@@ -11796,12 +12391,15 @@
"type": "integer"
},
"sourceType": {
- "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級",
+ "description": "鏉ユ簮绫诲瀷锛�1閿�鍞��璐э級",
"allOf": [
{
"$ref": "#/definitions/constvar.RefundSourceType"
}
]
+ },
+ "updateTime": {
+ "type": "string"
}
}
},
@@ -11818,6 +12416,14 @@
"$ref": "#/definitions/model.SalesReturnStatus"
}
]
+ },
+ "amountHasRefund": {
+ "description": "宸查��娆鹃噾棰�",
+ "type": "number"
+ },
+ "amountShouldRefund": {
+ "description": "搴旈��娆鹃噾棰�",
+ "type": "number"
},
"client": {
"$ref": "#/definitions/model.Client"
@@ -11873,6 +12479,9 @@
"$ref": "#/definitions/constvar.SalesReturnSourceType"
}
]
+ },
+ "updateTime": {
+ "type": "string"
}
}
},
@@ -12023,11 +12632,20 @@
"contactId": {
"type": "integer"
},
+ "createTime": {
+ "type": "string"
+ },
+ "creatorName": {
+ "type": "string"
+ },
"endTime": {
"type": "string"
},
"id": {
"type": "integer"
+ },
+ "member": {
+ "$ref": "#/definitions/model.User"
},
"memberId": {
"type": "integer"
@@ -12081,6 +12699,9 @@
"type": "string"
},
"terms": {
+ "type": "string"
+ },
+ "updateTime": {
"type": "string"
}
}
@@ -12151,8 +12772,11 @@
"contactId": {
"type": "integer"
},
- "customerServiceSheet": {
- "$ref": "#/definitions/model.CustomerServiceSheet"
+ "createTime": {
+ "type": "string"
+ },
+ "creatorName": {
+ "type": "string"
},
"file": {
"type": "string"
@@ -12190,11 +12814,11 @@
"satisfactionId": {
"type": "integer"
},
- "serviceId": {
- "type": "integer"
- },
"serviceOrder": {
"$ref": "#/definitions/model.ServiceOrder"
+ },
+ "serviceOrderId": {
+ "type": "integer"
},
"solveRate": {
"$ref": "#/definitions/model.SolveRate"
@@ -12207,6 +12831,9 @@
},
"timelyRateId": {
"type": "integer"
+ },
+ "updateTime": {
+ "type": "string"
}
}
},
@@ -12243,12 +12870,11 @@
"description": "鑱旂郴浜篿d",
"type": "integer"
},
- "contract": {
- "$ref": "#/definitions/model.Contract"
+ "createTime": {
+ "type": "string"
},
- "contractId": {
- "description": "鍚堝悓id",
- "type": "integer"
+ "creatorName": {
+ "type": "string"
},
"expectTime": {
"description": "甯屾湜澶勭悊鏃堕棿",
@@ -12271,13 +12897,6 @@
"id": {
"type": "integer"
},
- "orderId": {
- "description": "閿�鍞鍗昳d",
- "type": "integer"
- },
- "orderManage": {
- "$ref": "#/definitions/model.OrderManage"
- },
"priorityLevel": {
"$ref": "#/definitions/model.PriorityLevel"
},
@@ -12289,12 +12908,13 @@
"description": "闂鎻忚堪",
"type": "string"
},
- "product": {
- "$ref": "#/definitions/model.Product"
+ "productName": {
+ "description": "浜у搧鍚嶇О",
+ "type": "string"
},
- "productId": {
- "description": "浜у搧id",
- "type": "integer"
+ "productTypeName": {
+ "description": "浜у搧鍒嗙被鍚嶇О",
+ "type": "string"
},
"realTime": {
"description": "瀹為檯澶勭悊鏃堕棿",
@@ -12310,6 +12930,28 @@
"saleChanceId": {
"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": "鏈嶅姟浜哄憳",
@@ -12354,6 +12996,9 @@
"timeSpentId": {
"description": "鑺辫垂鏃堕棿",
"type": "integer"
+ },
+ "updateTime": {
+ "type": "string"
}
}
},
@@ -12424,8 +13069,14 @@
"id": {
"type": "integer"
},
+ "masterOrder": {
+ "$ref": "#/definitions/model.MasterOrder"
+ },
"masterOrderId": {
"type": "integer"
+ },
+ "member": {
+ "$ref": "#/definitions/model.User"
},
"memberId": {
"type": "integer"
@@ -12641,6 +13292,10 @@
"contact": {
"$ref": "#/definitions/request.Contact"
},
+ "contact_id": {
+ "description": "鑱旂郴浜篒D",
+ "type": "integer"
+ },
"country_id": {
"type": "integer"
},
@@ -12742,6 +13397,23 @@
"properties": {
"name": {
"type": "string"
+ }
+ }
+ },
+ "request.AddCollectionProjection": {
+ "type": "object",
+ "properties": {
+ "estimated_collection_amount": {
+ "description": "棰勮鏀舵閲戦",
+ "type": "number"
+ },
+ "estimated_collection_time": {
+ "description": "棰勮鏀舵鏃堕棿",
+ "type": "string"
+ },
+ "sale_chance_id": {
+ "description": "閿�鍞満浼歩d",
+ "type": "integer"
}
}
},
@@ -13207,6 +13879,12 @@
"number": {
"type": "string"
},
+ "products": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Product"
+ }
+ },
"quotation_status_id": {
"type": "integer"
},
@@ -13242,6 +13920,14 @@
"bankAccountId": {
"description": "璐︽埛id",
"type": "integer"
+ },
+ "client": {
+ "description": "瀹㈡埛id",
+ "allOf": [
+ {
+ "$ref": "#/definitions/model.Client"
+ }
+ ]
},
"clientId": {
"description": "瀹㈡埛id",
@@ -13699,6 +14385,12 @@
"salesDetailsId": {
"type": "integer"
},
+ "serviceContractStatusId": {
+ "type": "integer"
+ },
+ "serviceContractTypeId": {
+ "type": "integer"
+ },
"serviceTimes": {
"type": "integer"
},
@@ -13721,10 +14413,10 @@
},
"request.AddServiceContractStatus": {
"type": "object",
- "required": [
- "name"
- ],
"properties": {
+ "id": {
+ "type": "integer"
+ },
"name": {
"type": "string"
}
@@ -13769,6 +14461,10 @@
},
"contact": {
"$ref": "#/definitions/request.Contact"
+ },
+ "contact_id": {
+ "description": "鑱旂郴浜篒D",
+ "type": "integer"
},
"country_id": {
"type": "integer"
@@ -13880,7 +14576,7 @@
"satisfaction": {
"type": "integer"
},
- "serviceId": {
+ "serviceOrderId": {
"type": "integer"
},
"solveRate": {
@@ -13918,10 +14614,6 @@
"description": "鑱旂郴浜篿d",
"type": "integer"
},
- "contractId": {
- "description": "鍚堝悓id",
- "type": "integer"
- },
"expectTime": {
"description": "甯屾湜澶勭悊鏃堕棿",
"type": "string"
@@ -13934,10 +14626,6 @@
"description": "鏁呴殰绫诲埆id",
"type": "integer"
},
- "orderId": {
- "description": "閿�鍞鍗昳d",
- "type": "integer"
- },
"priorityLevelId": {
"description": "浼樺厛绾у埆id",
"type": "integer"
@@ -13946,9 +14634,13 @@
"description": "闂鎻忚堪",
"type": "string"
},
- "productId": {
- "description": "浜у搧id",
- "type": "integer"
+ "productName": {
+ "description": "浜у搧鍚嶇О",
+ "type": "string"
+ },
+ "productTypeName": {
+ "description": "浜у搧鍒嗙被鍚嶇О",
+ "type": "string"
},
"realTime": {
"description": "瀹為檯澶勭悊鏃堕棿",
@@ -13962,6 +14654,14 @@
"description": "閿�鍞満浼歩d",
"type": "integer"
},
+ "salesDetailsId": {
+ "description": "閿�鍞鍗昳d",
+ "type": "integer"
+ },
+ "serviceContractId": {
+ "description": "鍚堝悓id",
+ "type": "integer"
+ },
"serviceManId": {
"description": "鏈嶅姟浜哄憳",
"type": "integer"
@@ -13969,6 +14669,10 @@
"serviceNumber": {
"description": "鏈嶅姟鍗曠紪鍙�",
"type": "string"
+ },
+ "serviceOrderStatusId": {
+ "description": "澶勭悊鐘舵��",
+ "type": "integer"
},
"serviceTypeId": {
"description": "鏈嶅姟鏂瑰紡id",
@@ -13985,10 +14689,6 @@
"solutionRemark": {
"description": "鍐呴儴澶囨敞",
"type": "string"
- },
- "status": {
- "description": "澶勭悊鐘舵��",
- "type": "integer"
},
"subject": {
"description": "涓婚",
@@ -14211,6 +14911,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": {
@@ -14299,6 +15021,17 @@
}
}
},
+ "request.DeleteContract": {
+ "type": "object",
+ "properties": {
+ "ids": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ }
+ },
"request.DeleteCountry": {
"type": "object",
"properties": {
@@ -14309,6 +15042,17 @@
}
},
"request.DeleteFollowRecord": {
+ "type": "object",
+ "properties": {
+ "ids": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "request.DeleteMasterOrder": {
"type": "object",
"properties": {
"ids": {
@@ -14330,7 +15074,7 @@
}
}
},
- "request.DeleteSalesLeads": {
+ "request.DeleteQuotation": {
"type": "object",
"properties": {
"ids": {
@@ -14341,7 +15085,18 @@
}
}
},
- "request.DeleteServiceContract": {
+ "request.DeleteSaleChance": {
+ "type": "object",
+ "properties": {
+ "ids": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "request.DeleteSalesLeads": {
"type": "object",
"properties": {
"ids": {
@@ -14364,6 +15119,17 @@
}
},
"request.DeleteServiceFollowup": {
+ "type": "object",
+ "properties": {
+ "ids": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "request.DeleteSubOrder": {
"type": "object",
"properties": {
"ids": {
@@ -14487,7 +15253,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
}
@@ -14496,9 +15262,6 @@
"request.GetContractList": {
"type": "object",
"properties": {
- "keyword": {
- "type": "string"
- },
"page": {
"description": "椤电爜",
"type": "integer"
@@ -14506,6 +15269,11 @@
"pageSize": {
"description": "姣忛〉澶у皬",
"type": "integer"
+ },
+ "search_map": {
+ "description": "鎼滅储鏉′欢: map[string]interface{} {\"member_name\": \"閿�鍞礋璐d汉\", \"number\": \"鍚堝悓缂栧彿\", \"created_at\": \"鍒涘缓鏃堕棿\"}",
+ "type": "object",
+ "additionalProperties": true
}
}
},
@@ -14543,7 +15311,7 @@
"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
}
@@ -14552,9 +15320,6 @@
"request.GetMasterOrderList": {
"type": "object",
"properties": {
- "keyword": {
- "type": "string"
- },
"page": {
"description": "椤电爜",
"type": "integer"
@@ -14562,6 +15327,11 @@
"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
}
}
},
@@ -14600,9 +15370,6 @@
"request.GetQuotationList": {
"type": "object",
"properties": {
- "keyword": {
- "type": "string"
- },
"page": {
"description": "椤电爜",
"type": "integer"
@@ -14610,15 +15377,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"
@@ -14626,6 +15395,11 @@
"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
}
}
},
@@ -14672,6 +15446,9 @@
"keyword": {
"type": "string"
},
+ "keywordType": {
+ "$ref": "#/definitions/constvar.SalesRefundKeywordType"
+ },
"page": {
"description": "椤电爜",
"type": "integer"
@@ -14687,6 +15464,9 @@
"properties": {
"keyword": {
"type": "string"
+ },
+ "keywordType": {
+ "$ref": "#/definitions/constvar.SalesReturnKeywordType"
},
"page": {
"description": "椤电爜",
@@ -14758,6 +15538,10 @@
"pageSize": {
"description": "姣忛〉澶у皬",
"type": "integer"
+ },
+ "serviceOrderId": {
+ "description": "鏈嶅姟鍥炶鍗昳d",
+ "type": "integer"
}
}
},
@@ -14780,15 +15564,18 @@
},
"queryClass": {
"$ref": "#/definitions/constvar.ServiceOrderQueryClass"
+ },
+ "salesDetailsId": {
+ "type": "integer"
+ },
+ "serviceContractId": {
+ "type": "integer"
}
}
},
"request.GetSubOrderList": {
"type": "object",
"properties": {
- "keyword": {
- "type": "string"
- },
"page": {
"description": "椤电爜",
"type": "integer"
@@ -14796,6 +15583,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
}
}
},
@@ -14865,6 +15657,21 @@
"type": "string"
},
"subOrderId": {
+ "type": "integer"
+ }
+ }
+ },
+ "request.PushSaleChance": {
+ "type": "object",
+ "required": [
+ "id",
+ "step"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "step": {
"type": "integer"
}
}
@@ -14995,6 +15802,10 @@
},
"request.SalesRefund": {
"type": "object",
+ "required": [
+ "sourceId",
+ "sourceType"
+ ],
"properties": {
"bankAccountId": {
"description": "璐︽埛id",
@@ -15004,7 +15815,7 @@
"type": "integer"
},
"isInvoice": {
- "type": "integer"
+ "type": "string"
},
"memberId": {
"type": "integer"
@@ -15033,7 +15844,7 @@
"type": "integer"
},
"sourceType": {
- "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級",
+ "description": "鏉ユ簮绫诲瀷锛�1閿�鍞��娆惧崟锛�",
"allOf": [
{
"$ref": "#/definitions/constvar.RefundSourceType"
@@ -15246,6 +16057,10 @@
"contact": {
"$ref": "#/definitions/request.Contact"
},
+ "contact_id": {
+ "description": "鑱旂郴浜篒D",
+ "type": "integer"
+ },
"country_id": {
"type": "integer"
},
@@ -15430,6 +16245,22 @@
"items": {
"$ref": "#/definitions/request.UpdateClientType"
}
+ }
+ }
+ },
+ "request.UpdateCollectionProjection": {
+ "type": "object",
+ "properties": {
+ "estimated_collection_amount": {
+ "description": "棰勮鏀舵閲戦",
+ "type": "number"
+ },
+ "estimated_collection_time": {
+ "description": "棰勮鏀舵鏃堕棿",
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
}
}
},
@@ -16097,6 +16928,12 @@
"number": {
"type": "string"
},
+ "products": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Product"
+ }
+ },
"quotation_status_id": {
"type": "integer"
},
@@ -16150,6 +16987,14 @@
"bankAccountId": {
"description": "璐︽埛id",
"type": "integer"
+ },
+ "client": {
+ "description": "瀹㈡埛id",
+ "allOf": [
+ {
+ "$ref": "#/definitions/model.Client"
+ }
+ ]
},
"clientId": {
"description": "瀹㈡埛id",
@@ -16829,6 +17674,12 @@
"salesDetailsId": {
"type": "integer"
},
+ "serviceContractStatusId": {
+ "type": "integer"
+ },
+ "serviceContractTypeId": {
+ "type": "integer"
+ },
"serviceTimes": {
"type": "integer"
},
@@ -16851,30 +17702,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"
- }
}
}
},
@@ -16935,6 +17768,10 @@
},
"contact": {
"$ref": "#/definitions/request.Contact"
+ },
+ "contact_id": {
+ "description": "鑱旂郴浜篒D",
+ "type": "integer"
},
"country_id": {
"type": "integer"
@@ -17050,7 +17887,7 @@
"satisfaction": {
"type": "integer"
},
- "serviceId": {
+ "serviceOrderId": {
"type": "integer"
},
"solveRate": {
@@ -17088,10 +17925,6 @@
"description": "鑱旂郴浜篿d",
"type": "integer"
},
- "contractId": {
- "description": "鍚堝悓id",
- "type": "integer"
- },
"expectTime": {
"description": "甯屾湜澶勭悊鏃堕棿",
"type": "string"
@@ -17107,10 +17940,6 @@
"id": {
"type": "integer"
},
- "orderId": {
- "description": "閿�鍞鍗昳d",
- "type": "integer"
- },
"priorityLevelId": {
"description": "浼樺厛绾у埆id",
"type": "integer"
@@ -17119,9 +17948,13 @@
"description": "闂鎻忚堪",
"type": "string"
},
- "productId": {
- "description": "浜у搧id",
- "type": "integer"
+ "productName": {
+ "description": "浜у搧鍚嶇О",
+ "type": "string"
+ },
+ "productTypeName": {
+ "description": "浜у搧鍒嗙被鍚嶇О",
+ "type": "string"
},
"realTime": {
"description": "瀹為檯澶勭悊鏃堕棿",
@@ -17135,6 +17968,14 @@
"description": "閿�鍞満浼歩d",
"type": "integer"
},
+ "salesDetailsId": {
+ "description": "閿�鍞鍗昳d",
+ "type": "integer"
+ },
+ "serviceContractId": {
+ "description": "鍚堝悓id",
+ "type": "integer"
+ },
"serviceManId": {
"description": "鏈嶅姟浜哄憳",
"type": "integer"
@@ -17142,6 +17983,10 @@
"serviceNumber": {
"description": "鏈嶅姟鍗曠紪鍙�",
"type": "string"
+ },
+ "serviceOrderStatusId": {
+ "description": "澶勭悊鐘舵��",
+ "type": "integer"
},
"serviceTypeId": {
"description": "鏈嶅姟鏂瑰紡id",
@@ -17158,10 +18003,6 @@
"solutionRemark": {
"description": "鍐呴儴澶囨敞",
"type": "string"
- },
- "status": {
- "description": "澶勭悊鐘舵��",
- "type": "integer"
},
"subject": {
"description": "涓婚",
@@ -17432,6 +18273,17 @@
"type": "array",
"items": {
"$ref": "#/definitions/model.ClientType"
+ }
+ }
+ }
+ },
+ "response.ContactInformationResponse": {
+ "type": "object",
+ "properties": {
+ "list": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.ContactInformation"
}
}
}
@@ -18147,17 +18999,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