From 13b9eb612f28bed4df5fc0241e27733f539bc2e3 Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期一, 31 七月 2023 15:32:59 +0800
Subject: [PATCH] add
---
docs/docs.go | 1552 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 1,493 insertions(+), 59 deletions(-)
diff --git a/docs/docs.go b/docs/docs.go
index e97a5e1..e705bbf 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -135,6 +135,36 @@
}
}
},
+ "/api/assign/assign": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Assign"
+ ],
+ "summary": "瀹℃牳",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.Assign"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
"/api/authority/add": {
"post": {
"security": [
@@ -500,14 +530,25 @@
}
},
"/api/client/list": {
- "get": {
+ "post": {
"produces": [
"application/json"
],
"tags": [
"Client"
],
- "summary": "鑾峰彇瀹㈡埛鍒楄〃",
+ "summary": "瀹㈡埛鍒楄〃",
+ "parameters": [
+ {
+ "description": "鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.GetClientList"
+ }
+ }
+ ],
"responses": {
"200": {
"description": "OK",
@@ -1095,7 +1136,7 @@
}
},
"/api/contact/list": {
- "get": {
+ "post": {
"produces": [
"application/json"
],
@@ -1103,6 +1144,17 @@
"Contact"
],
"summary": "鑱旂郴浜哄垪琛�",
+ "parameters": [
+ {
+ "description": "鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.GetContactList"
+ }
+ }
+ ],
"responses": {
"200": {
"description": "OK",
@@ -1214,14 +1266,25 @@
}
},
"/api/contract/list": {
- "get": {
+ "post": {
"produces": [
"application/json"
],
"tags": [
"Contract"
],
- "summary": "鑾峰彇鍚堝悓鍒楄〃",
+ "summary": "閿�鍞悎鍚屽垪琛�",
+ "parameters": [
+ {
+ "description": "鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.GetContractList"
+ }
+ }
+ ],
"responses": {
"200": {
"description": "OK",
@@ -1382,6 +1445,125 @@
"required": true,
"schema": {
"$ref": "#/definitions/request.UpdateCountry"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/currency/add": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Currency"
+ ],
+ "summary": "娣诲姞甯佺",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.AddCurrency"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/currency/delete/{id}": {
+ "delete": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Currency"
+ ],
+ "summary": "鍒犻櫎甯佺",
+ "parameters": [
+ {
+ "type": "integer",
+ "description": "鏌ヨ鍙傛暟",
+ "name": "id",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/currency/list": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Currency"
+ ],
+ "summary": "鑾峰彇甯佺鍒楄〃",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/contextx.Response"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "data": {
+ "$ref": "#/definitions/response.CurrencyResponse"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ "/api/currency/update": {
+ "put": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Currency"
+ ],
+ "summary": "鏇存柊甯佺",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.UpdateCurrencys"
}
}
],
@@ -1949,14 +2131,25 @@
}
},
"/api/followRecord/list": {
- "get": {
+ "post": {
"produces": [
"application/json"
],
"tags": [
"FollowRecord"
],
- "summary": "鑾峰彇璺熻繘璁板綍鍒楄〃",
+ "summary": "鍥炶璁板綍鍒楄〃",
+ "parameters": [
+ {
+ "description": "鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.GetFollowRecordList"
+ }
+ }
+ ],
"responses": {
"200": {
"description": "OK",
@@ -2456,14 +2649,25 @@
}
},
"/api/masterOrder/list": {
- "get": {
+ "post": {
"produces": [
"application/json"
],
"tags": [
"MasterOrder"
],
- "summary": "涓昏鍗曞垪琛�",
+ "summary": "閿�鍞�诲崟鍒楄〃",
+ "parameters": [
+ {
+ "description": "鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.GetMasterOrderList"
+ }
+ }
+ ],
"responses": {
"200": {
"description": "OK",
@@ -2620,19 +2824,42 @@
}
},
"/api/orderManage/list": {
- "get": {
+ "post": {
"produces": [
"application/json"
],
"tags": [
"OrderManage"
],
- "summary": "宸ュ崟鍒楄〃",
+ "summary": "宸ュ崟绠$悊鍒楄〃",
+ "parameters": [
+ {
+ "description": "鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.GetOrderManageList"
+ }
+ }
+ ],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/contextx.Response"
+ "allOf": [
+ {
+ "$ref": "#/definitions/contextx.Response"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "data": {
+ "$ref": "#/definitions/response.OrderManageResponse"
+ }
+ }
+ }
+ ]
}
}
}
@@ -2846,14 +3073,25 @@
}
},
"/api/plan/list": {
- "get": {
+ "post": {
"produces": [
"application/json"
],
"tags": [
"Plan"
],
- "summary": "鑾峰彇璁″垝鍒楄〃",
+ "summary": "鐢熸垚璁″垝鍒楄〃",
+ "parameters": [
+ {
+ "description": "鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.GetPlanList"
+ }
+ }
+ ],
"responses": {
"200": {
"description": "OK",
@@ -3242,7 +3480,7 @@
}
},
"/api/quotation/list": {
- "get": {
+ "post": {
"produces": [
"application/json"
],
@@ -3250,6 +3488,17 @@
"Quotation"
],
"summary": "鎶ヤ环鍗曞垪琛�",
+ "parameters": [
+ {
+ "description": "鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.GetQuotationList"
+ }
+ }
+ ],
"responses": {
"200": {
"description": "OK",
@@ -3289,6 +3538,125 @@
"required": true,
"schema": {
"$ref": "#/definitions/request.UpdateQuotation"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/quotationStatus/add": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "QuotationStatus"
+ ],
+ "summary": "娣诲姞鎶ヤ环鍗曠姸鎬�",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.AddQuotationStatus"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/quotationStatus/delete/{id}": {
+ "delete": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "QuotationStatus"
+ ],
+ "summary": "鍒犻櫎鎶ヤ环鍗曠姸鎬�",
+ "parameters": [
+ {
+ "type": "integer",
+ "description": "鏌ヨ鍙傛暟",
+ "name": "id",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/quotationStatus/list": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "QuotationStatus"
+ ],
+ "summary": "鑾峰彇鎶ヤ环鍗曠姸鎬佸垪琛�",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/contextx.Response"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "data": {
+ "$ref": "#/definitions/response.QuotationStatusResponse"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ "/api/quotationStatus/update": {
+ "put": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "QuotationStatus"
+ ],
+ "summary": "鏇存柊鎶ヤ环鍗曠姸鎬�",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.UpdateQuotationStatuss"
}
}
],
@@ -3924,6 +4292,125 @@
}
}
},
+ "/api/repository/add": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Repository"
+ ],
+ "summary": "娣诲姞閫�璐т粨搴�",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.AddRepository"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/repository/delete/{id}": {
+ "delete": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Repository"
+ ],
+ "summary": "鍒犻櫎閫�璐т粨搴�",
+ "parameters": [
+ {
+ "type": "integer",
+ "description": "鏌ヨ鍙傛暟",
+ "name": "id",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/repository/list": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Repository"
+ ],
+ "summary": "鑾峰彇閫�璐т粨搴撳垪琛�",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/contextx.Response"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "data": {
+ "$ref": "#/definitions/response.RepositoryResponse"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ "/api/repository/update": {
+ "put": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Repository"
+ ],
+ "summary": "鏇存柊閫�璐т粨搴�",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.UpdateRepositorys"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
"/api/saleChance/add": {
"post": {
"produces": [
@@ -3983,14 +4470,25 @@
}
},
"/api/saleChance/list": {
- "get": {
+ "post": {
"produces": [
"application/json"
],
"tags": [
"SaleChance"
],
- "summary": "鑾峰彇閿�鍞満浼氬垪琛�",
+ "summary": "閿�鍞満浼氬垪琛�",
+ "parameters": [
+ {
+ "description": "鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.GetSaleChanceList"
+ }
+ }
+ ],
"responses": {
"200": {
"description": "OK",
@@ -4340,14 +4838,25 @@
}
},
"/api/salesDetails/list": {
- "get": {
+ "post": {
"produces": [
"application/json"
],
"tags": [
"SalesDetails"
],
- "summary": "鑾峰彇閿�鍞槑缁嗗垪琛�",
+ "summary": "閿�鍞槑缁嗗崟鍒楄〃",
+ "parameters": [
+ {
+ "description": "鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.GetSalesDetailsList"
+ }
+ }
+ ],
"responses": {
"200": {
"description": "OK",
@@ -4459,14 +4968,25 @@
}
},
"/api/salesLeads/list": {
- "get": {
+ "post": {
"produces": [
"application/json"
],
"tags": [
"SalesLeads"
],
- "summary": "鑾峰彇閿�鍞嚎绱㈠垪琛�",
+ "summary": "閿�鍞嚎绱㈠垪琛�",
+ "parameters": [
+ {
+ "description": "鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.GetSalesLeadsList"
+ }
+ }
+ ],
"responses": {
"200": {
"description": "OK",
@@ -4578,14 +5098,25 @@
}
},
"/api/salesRefund/list": {
- "get": {
+ "post": {
"produces": [
"application/json"
],
"tags": [
"SalesRefund"
],
- "summary": "閿�鍞��娆惧垪琛�",
+ "summary": "閿�鍞��娆惧崟鍒楄〃",
+ "parameters": [
+ {
+ "description": "鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.GetSalesRefundList"
+ }
+ }
+ ],
"responses": {
"200": {
"description": "OK",
@@ -4697,14 +5228,25 @@
}
},
"/api/salesReturn/list": {
- "get": {
+ "post": {
"produces": [
"application/json"
],
"tags": [
"SalesReturn"
],
- "summary": "鑾峰彇閿�鍞��璐у垪琛�",
+ "summary": "閿�鍞��璐у崟鍒楄〃",
+ "parameters": [
+ {
+ "description": "鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.GetSalesReturnList"
+ }
+ }
+ ],
"responses": {
"200": {
"description": "OK",
@@ -4744,6 +5286,125 @@
"required": true,
"schema": {
"$ref": "#/definitions/request.UpdateSalesReturnRequest"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/salesReturnStatus/add": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "SalesReturnStatus"
+ ],
+ "summary": "娣诲姞閫�璐у崟鐘舵��",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.AddSalesReturnStatus"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/salesReturnStatus/delete/{id}": {
+ "delete": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "SalesReturnStatus"
+ ],
+ "summary": "鍒犻櫎閫�璐у崟鐘舵��",
+ "parameters": [
+ {
+ "type": "integer",
+ "description": "鏌ヨ鍙傛暟",
+ "name": "id",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/salesReturnStatus/list": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "SalesReturnStatus"
+ ],
+ "summary": "鑾峰彇閫�璐у崟鐘舵�佸垪琛�",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/contextx.Response"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "data": {
+ "$ref": "#/definitions/response.SalesReturnStatusResponse"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ "/api/salesReturnStatus/update": {
+ "put": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "SalesReturnStatus"
+ ],
+ "summary": "鏇存柊閫�璐у崟鐘舵��",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.UpdateSalesReturnStatuss"
}
}
],
@@ -5054,14 +5715,25 @@
}
},
"/api/serviceContract/list": {
- "get": {
+ "post": {
"produces": [
"application/json"
],
"tags": [
"ServiceContract"
],
- "summary": "鏈嶅姟鍚堝悓鍒楄〃",
+ "summary": "鐢熸垚璁″垝鍒楄〃",
+ "parameters": [
+ {
+ "description": "鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.GetServiceContractList"
+ }
+ }
+ ],
"responses": {
"200": {
"description": "OK",
@@ -5411,7 +6083,7 @@
}
},
"/api/serviceFeeManage/list": {
- "get": {
+ "post": {
"produces": [
"application/json"
],
@@ -5419,6 +6091,17 @@
"ServiceFeeManage"
],
"summary": "鏈嶅姟璐圭鐞嗗垪琛�",
+ "parameters": [
+ {
+ "description": "鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.GetServiceFeeManageList"
+ }
+ }
+ ],
"responses": {
"200": {
"description": "OK",
@@ -5530,14 +6213,25 @@
}
},
"/api/serviceFollowup/list": {
- "get": {
+ "post": {
"produces": [
"application/json"
],
"tags": [
"ServiceFollowup"
],
- "summary": "鏈嶅姟璺熻繘鍒楄〃",
+ "summary": "鍥炶鍗曠鐞嗗垪琛�",
+ "parameters": [
+ {
+ "description": "鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.GetServiceFollowupList"
+ }
+ }
+ ],
"responses": {
"200": {
"description": "OK",
@@ -5715,7 +6409,7 @@
"application/json"
],
"tags": [
- "Status"
+ "SalesReturnStatus"
],
"summary": "娣诲姞鐘舵��",
"parameters": [
@@ -5745,7 +6439,7 @@
"application/json"
],
"tags": [
- "Status"
+ "SalesReturnStatus"
],
"summary": "鍒犻櫎鐘舵��",
"parameters": [
@@ -5773,7 +6467,7 @@
"application/json"
],
"tags": [
- "Status"
+ "SalesReturnStatus"
],
"summary": "鐘舵�佸垪琛�",
"responses": {
@@ -5792,7 +6486,7 @@
"application/json"
],
"tags": [
- "Status"
+ "SalesReturnStatus"
],
"summary": "鏇存柊鐘舵��",
"parameters": [
@@ -5875,14 +6569,25 @@
}
},
"/api/subOrder/list": {
- "get": {
+ "post": {
"produces": [
"application/json"
],
"tags": [
"SubOrder"
],
- "summary": "鑾峰彇瀛愯鍗曞垪琛�",
+ "summary": "閿�鍞瓙鍗曞垪琛�",
+ "parameters": [
+ {
+ "description": "鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.GetSubOrderList"
+ }
+ }
+ ],
"responses": {
"200": {
"description": "OK",
@@ -6336,30 +7041,39 @@
}
}
}
+ },
+ "/api/vetting/update": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Vetting"
+ ],
+ "summary": "鏇存柊瀹℃壒",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.UpdateVetting"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
}
},
"definitions": {
- "constvar.CurrencyType": {
- "type": "integer",
- "enum": [
- 1,
- 2,
- 3,
- 4
- ],
- "x-enum-comments": {
- "CurrencyTypeCNY": "浜烘皯甯�",
- "CurrencyTypeEUR": "娆у厓",
- "CurrencyTypeGBP": "鑻遍晳",
- "CurrencyTypeUSD": "缇庡厓"
- },
- "x-enum-varnames": [
- "CurrencyTypeCNY",
- "CurrencyTypeUSD",
- "CurrencyTypeEUR",
- "CurrencyTypeGBP"
- ]
- },
"constvar.SalesStatus": {
"type": "integer",
"enum": [
@@ -6821,6 +7535,17 @@
}
}
},
+ "model.Currency": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ }
+ },
"model.CustomerServiceSheet": {
"type": "object",
"properties": {
@@ -7025,6 +7750,44 @@
}
}
},
+ "model.OrderManage": {
+ "type": "object",
+ "properties": {
+ "client": {
+ "$ref": "#/definitions/model.Client"
+ },
+ "clientId": {
+ "type": "integer"
+ },
+ "contactId": {
+ "type": "integer"
+ },
+ "file": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "number": {
+ "type": "string"
+ },
+ "orderType": {
+ "type": "integer"
+ },
+ "problemDescription": {
+ "type": "string"
+ },
+ "reportSourceId": {
+ "type": "integer"
+ },
+ "sourceSheet": {
+ "type": "integer"
+ }
+ }
+ },
"model.OrderType": {
"type": "object",
"properties": {
@@ -7175,6 +7938,17 @@
}
}
},
+ "model.QuotationStatus": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ }
+ },
"model.RefundMethod": {
"type": "object",
"properties": {
@@ -7230,6 +8004,17 @@
}
}
},
+ "model.Repository": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ }
+ },
"model.SaleChance": {
"type": "object",
"properties": {
@@ -7270,7 +8055,7 @@
"type": "integer"
},
"currency": {
- "$ref": "#/definitions/constvar.CurrencyType"
+ "type": "integer"
},
"detail_address": {
"type": "string"
@@ -7403,6 +8188,15 @@
},
"id": {
"type": "integer"
+ },
+ "logisticCompany": {
+ "type": "string"
+ },
+ "logisticCost": {
+ "type": "number"
+ },
+ "logisticNumber": {
+ "type": "string"
},
"memberId": {
"type": "integer"
@@ -7569,8 +8363,19 @@
"returnDate": {
"type": "string"
},
- "status": {
+ "salesReturnStatus": {
"type": "integer"
+ }
+ }
+ },
+ "model.SalesReturnStatus": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
}
}
},
@@ -7754,6 +8559,17 @@
}
},
"model.SolveRate": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ }
+ },
+ "model.Status": {
"type": "object",
"properties": {
"id": {
@@ -8120,6 +8936,17 @@
}
}
},
+ "request.AddCurrency": {
+ "type": "object",
+ "required": [
+ "name"
+ ],
+ "properties": {
+ "name": {
+ "type": "string"
+ }
+ }
+ },
"request.AddCustomerServiceSheet": {
"type": "object",
"properties": {
@@ -8343,6 +9170,17 @@
}
}
},
+ "request.AddQuotationStatus": {
+ "type": "object",
+ "required": [
+ "name"
+ ],
+ "properties": {
+ "name": {
+ "type": "string"
+ }
+ }
+ },
"request.AddRefundMethod": {
"type": "object",
"required": [
@@ -8386,6 +9224,17 @@
}
},
"request.AddReportSource": {
+ "type": "object",
+ "required": [
+ "name"
+ ],
+ "properties": {
+ "name": {
+ "type": "string"
+ }
+ }
+ },
+ "request.AddRepository": {
"type": "object",
"required": [
"name"
@@ -8592,6 +9441,17 @@
"properties": {
"salesReturn": {
"$ref": "#/definitions/request.SalesReturn"
+ }
+ }
+ },
+ "request.AddSalesReturnStatus": {
+ "type": "object",
+ "required": [
+ "name"
+ ],
+ "properties": {
+ "name": {
+ "type": "string"
}
}
},
@@ -8924,6 +9784,20 @@
}
}
},
+ "request.Assign": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "member_id": {
+ "type": "integer"
+ },
+ "type": {
+ "type": "string"
+ }
+ }
+ },
"request.CasbinInfo": {
"type": "object",
"properties": {
@@ -9110,6 +9984,278 @@
}
}
},
+ "request.GetClientList": {
+ "type": "object",
+ "properties": {
+ "keyword": {
+ "type": "string"
+ },
+ "page": {
+ "description": "椤电爜",
+ "type": "integer"
+ },
+ "pageSize": {
+ "description": "姣忛〉澶у皬",
+ "type": "integer"
+ }
+ }
+ },
+ "request.GetContactList": {
+ "type": "object",
+ "properties": {
+ "keyword": {
+ "type": "string"
+ },
+ "page": {
+ "description": "椤电爜",
+ "type": "integer"
+ },
+ "pageSize": {
+ "description": "姣忛〉澶у皬",
+ "type": "integer"
+ }
+ }
+ },
+ "request.GetContractList": {
+ "type": "object",
+ "properties": {
+ "keyword": {
+ "type": "string"
+ },
+ "page": {
+ "description": "椤电爜",
+ "type": "integer"
+ },
+ "pageSize": {
+ "description": "姣忛〉澶у皬",
+ "type": "integer"
+ }
+ }
+ },
+ "request.GetFollowRecordList": {
+ "type": "object",
+ "properties": {
+ "keyword": {
+ "type": "string"
+ },
+ "page": {
+ "description": "椤电爜",
+ "type": "integer"
+ },
+ "pageSize": {
+ "description": "姣忛〉澶у皬",
+ "type": "integer"
+ }
+ }
+ },
+ "request.GetMasterOrderList": {
+ "type": "object",
+ "properties": {
+ "keyword": {
+ "type": "string"
+ },
+ "page": {
+ "description": "椤电爜",
+ "type": "integer"
+ },
+ "pageSize": {
+ "description": "姣忛〉澶у皬",
+ "type": "integer"
+ }
+ }
+ },
+ "request.GetOrderManageList": {
+ "type": "object",
+ "properties": {
+ "keyword": {
+ "type": "string"
+ },
+ "page": {
+ "description": "椤电爜",
+ "type": "integer"
+ },
+ "pageSize": {
+ "description": "姣忛〉澶у皬",
+ "type": "integer"
+ }
+ }
+ },
+ "request.GetPlanList": {
+ "type": "object",
+ "properties": {
+ "keyword": {
+ "type": "string"
+ },
+ "page": {
+ "description": "椤电爜",
+ "type": "integer"
+ },
+ "pageSize": {
+ "description": "姣忛〉澶у皬",
+ "type": "integer"
+ }
+ }
+ },
+ "request.GetQuotationList": {
+ "type": "object",
+ "properties": {
+ "keyword": {
+ "type": "string"
+ },
+ "page": {
+ "description": "椤电爜",
+ "type": "integer"
+ },
+ "pageSize": {
+ "description": "姣忛〉澶у皬",
+ "type": "integer"
+ }
+ }
+ },
+ "request.GetSaleChanceList": {
+ "type": "object",
+ "properties": {
+ "keyword": {
+ "type": "string"
+ },
+ "page": {
+ "description": "椤电爜",
+ "type": "integer"
+ },
+ "pageSize": {
+ "description": "姣忛〉澶у皬",
+ "type": "integer"
+ }
+ }
+ },
+ "request.GetSalesDetailsList": {
+ "type": "object",
+ "properties": {
+ "keyword": {
+ "type": "string"
+ },
+ "page": {
+ "description": "椤电爜",
+ "type": "integer"
+ },
+ "pageSize": {
+ "description": "姣忛〉澶у皬",
+ "type": "integer"
+ }
+ }
+ },
+ "request.GetSalesLeadsList": {
+ "type": "object",
+ "properties": {
+ "keyword": {
+ "type": "string"
+ },
+ "page": {
+ "description": "椤电爜",
+ "type": "integer"
+ },
+ "pageSize": {
+ "description": "姣忛〉澶у皬",
+ "type": "integer"
+ }
+ }
+ },
+ "request.GetSalesRefundList": {
+ "type": "object",
+ "properties": {
+ "keyword": {
+ "type": "string"
+ },
+ "page": {
+ "description": "椤电爜",
+ "type": "integer"
+ },
+ "pageSize": {
+ "description": "姣忛〉澶у皬",
+ "type": "integer"
+ }
+ }
+ },
+ "request.GetSalesReturnList": {
+ "type": "object",
+ "properties": {
+ "keyword": {
+ "type": "string"
+ },
+ "page": {
+ "description": "椤电爜",
+ "type": "integer"
+ },
+ "pageSize": {
+ "description": "姣忛〉澶у皬",
+ "type": "integer"
+ }
+ }
+ },
+ "request.GetServiceContractList": {
+ "type": "object",
+ "properties": {
+ "keyword": {
+ "type": "string"
+ },
+ "page": {
+ "description": "椤电爜",
+ "type": "integer"
+ },
+ "pageSize": {
+ "description": "姣忛〉澶у皬",
+ "type": "integer"
+ }
+ }
+ },
+ "request.GetServiceFeeManageList": {
+ "type": "object",
+ "properties": {
+ "keyword": {
+ "type": "string"
+ },
+ "page": {
+ "description": "椤电爜",
+ "type": "integer"
+ },
+ "pageSize": {
+ "description": "姣忛〉澶у皬",
+ "type": "integer"
+ }
+ }
+ },
+ "request.GetServiceFollowupList": {
+ "type": "object",
+ "properties": {
+ "keyword": {
+ "type": "string"
+ },
+ "page": {
+ "description": "椤电爜",
+ "type": "integer"
+ },
+ "pageSize": {
+ "description": "姣忛〉澶у皬",
+ "type": "integer"
+ }
+ }
+ },
+ "request.GetSubOrderList": {
+ "type": "object",
+ "properties": {
+ "keyword": {
+ "type": "string"
+ },
+ "page": {
+ "description": "椤电爜",
+ "type": "integer"
+ },
+ "pageSize": {
+ "description": "姣忛〉澶у皬",
+ "type": "integer"
+ }
+ }
+ },
"request.GetUserList": {
"type": "object",
"properties": {
@@ -9242,6 +10388,15 @@
"type": "string"
},
"deliveryDate": {
+ "type": "string"
+ },
+ "logisticCompany": {
+ "type": "string"
+ },
+ "logisticCost": {
+ "type": "number"
+ },
+ "logisticNumber": {
"type": "string"
},
"memberId": {
@@ -9779,6 +10934,35 @@
}
}
},
+ "request.UpdateCurrency": {
+ "type": "object",
+ "required": [
+ "id",
+ "name"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ }
+ },
+ "request.UpdateCurrencys": {
+ "type": "object",
+ "required": [
+ "currency"
+ ],
+ "properties": {
+ "currency": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/request.UpdateCurrency"
+ }
+ }
+ }
+ },
"request.UpdateCustomerServiceSheet": {
"type": "object",
"properties": {
@@ -10174,6 +11358,35 @@
}
}
},
+ "request.UpdateQuotationStatus": {
+ "type": "object",
+ "required": [
+ "id",
+ "name"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ }
+ },
+ "request.UpdateQuotationStatuss": {
+ "type": "object",
+ "required": [
+ "quotation_status"
+ ],
+ "properties": {
+ "quotation_status": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/request.UpdateQuotationStatus"
+ }
+ }
+ }
+ },
"request.UpdateRefundMethod": {
"type": "object",
"required": [
@@ -10308,6 +11521,35 @@
"type": "array",
"items": {
"$ref": "#/definitions/request.UpdateReportSource"
+ }
+ }
+ }
+ },
+ "request.UpdateRepository": {
+ "type": "object",
+ "required": [
+ "id",
+ "name"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ }
+ },
+ "request.UpdateRepositorys": {
+ "type": "object",
+ "required": [
+ "repository"
+ ],
+ "properties": {
+ "repository": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/request.UpdateRepository"
}
}
}
@@ -10562,6 +11804,35 @@
},
"salesReturn": {
"$ref": "#/definitions/request.SalesReturn"
+ }
+ }
+ },
+ "request.UpdateSalesReturnStatus": {
+ "type": "object",
+ "required": [
+ "id",
+ "name"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ }
+ },
+ "request.UpdateSalesReturnStatuss": {
+ "type": "object",
+ "required": [
+ "sales_return_status"
+ ],
+ "properties": {
+ "sales_return_status": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/request.UpdateSalesReturnStatus"
+ }
}
}
},
@@ -11000,6 +12271,21 @@
}
}
},
+ "request.UpdateVetting": {
+ "type": "object",
+ "required": [
+ "id",
+ "status"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "status": {
+ "type": "integer"
+ }
+ }
+ },
"response.AccountIdResponse": {
"type": "object",
"properties": {
@@ -11047,6 +12333,9 @@
"response.ClientResponse": {
"type": "object",
"properties": {
+ "count": {
+ "type": "integer"
+ },
"list": {
"type": "array",
"items": {
@@ -11080,6 +12369,9 @@
"response.ContactResponse": {
"type": "object",
"properties": {
+ "count": {
+ "type": "integer"
+ },
"list": {
"type": "array",
"items": {
@@ -11091,6 +12383,9 @@
"response.ContractResponse": {
"type": "object",
"properties": {
+ "count": {
+ "type": "integer"
+ },
"list": {
"type": "array",
"items": {
@@ -11106,6 +12401,17 @@
"type": "array",
"items": {
"$ref": "#/definitions/model.Country"
+ }
+ }
+ }
+ },
+ "response.CurrencyResponse": {
+ "type": "object",
+ "properties": {
+ "list": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Currency"
}
}
}
@@ -11160,6 +12466,13 @@
"type": "array",
"items": {
"$ref": "#/definitions/model.Country"
+ }
+ },
+ "currency": {
+ "description": "甯佺",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Currency"
}
},
"department": {
@@ -11218,11 +12531,25 @@
"$ref": "#/definitions/model.OrderType"
}
},
+ "possibility": {
+ "description": "鍙兘鎬�",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Possibility"
+ }
+ },
"province": {
"description": "鐪佷唤鏁版嵁",
"type": "array",
"items": {
"$ref": "#/definitions/model.Province"
+ }
+ },
+ "quotationStatus": {
+ "description": "鎶ヤ环鍗曠姸鎬�",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.QuotationStatus"
}
},
"refundMethod": {
@@ -11260,6 +12587,13 @@
"$ref": "#/definitions/model.ReportSource"
}
},
+ "repository": {
+ "description": "閫�璐т粨搴�",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Repository"
+ }
+ },
"sale_stage": {
"description": "閿�鍞樁娈�",
"type": "array",
@@ -11272,6 +12606,13 @@
"type": "array",
"items": {
"$ref": "#/definitions/model.SaleType"
+ }
+ },
+ "salesReturnStatus": {
+ "description": "閫�璐у崟鐘舵��",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.SalesReturnStatus"
}
},
"sales_source": {
@@ -11307,6 +12648,13 @@
"type": "array",
"items": {
"$ref": "#/definitions/model.SolveRate"
+ }
+ },
+ "status": {
+ "description": "鐘舵��",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Status"
}
},
"timely_rate": {
@@ -11354,6 +12702,9 @@
"response.FollowRecordResponse": {
"type": "object",
"properties": {
+ "count": {
+ "type": "integer"
+ },
"list": {
"type": "array",
"items": {
@@ -11412,6 +12763,9 @@
"response.MasterOrderResponse": {
"type": "object",
"properties": {
+ "count": {
+ "type": "integer"
+ },
"list": {
"type": "array",
"items": {
@@ -11427,6 +12781,20 @@
"type": "array",
"items": {
"$ref": "#/definitions/model.Menu"
+ }
+ }
+ }
+ },
+ "response.OrderManageResponse": {
+ "type": "object",
+ "properties": {
+ "count": {
+ "type": "integer"
+ },
+ "list": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.OrderManage"
}
}
}
@@ -11460,6 +12828,9 @@
"response.PlanResponse": {
"type": "object",
"properties": {
+ "count": {
+ "type": "integer"
+ },
"list": {
"type": "array",
"items": {
@@ -11493,10 +12864,24 @@
"response.QuotationResponse": {
"type": "object",
"properties": {
+ "count": {
+ "type": "integer"
+ },
"list": {
"type": "array",
"items": {
"$ref": "#/definitions/model.Quotation"
+ }
+ }
+ }
+ },
+ "response.QuotationStatusResponse": {
+ "type": "object",
+ "properties": {
+ "list": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.QuotationStatus"
}
}
}
@@ -11545,9 +12930,23 @@
}
}
},
+ "response.RepositoryResponse": {
+ "type": "object",
+ "properties": {
+ "list": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Repository"
+ }
+ }
+ }
+ },
"response.SaleChanceResponse": {
"type": "object",
"properties": {
+ "count": {
+ "type": "integer"
+ },
"list": {
"type": "array",
"items": {
@@ -11581,6 +12980,9 @@
"response.SalesDetailsResponse": {
"type": "object",
"properties": {
+ "count": {
+ "type": "integer"
+ },
"list": {
"type": "array",
"items": {
@@ -11592,6 +12994,9 @@
"response.SalesLeadsResponse": {
"type": "object",
"properties": {
+ "count": {
+ "type": "integer"
+ },
"list": {
"type": "array",
"items": {
@@ -11603,6 +13008,9 @@
"response.SalesRefundResponse": {
"type": "object",
"properties": {
+ "count": {
+ "type": "integer"
+ },
"list": {
"type": "array",
"items": {
@@ -11614,10 +13022,24 @@
"response.SalesReturnResponse": {
"type": "object",
"properties": {
+ "count": {
+ "type": "integer"
+ },
"list": {
"type": "array",
"items": {
"$ref": "#/definitions/model.SalesReturn"
+ }
+ }
+ }
+ },
+ "response.SalesReturnStatusResponse": {
+ "type": "object",
+ "properties": {
+ "list": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.SalesReturnStatus"
}
}
}
@@ -11669,6 +13091,9 @@
"response.ServiceContractsResponse": {
"type": "object",
"properties": {
+ "count": {
+ "type": "integer"
+ },
"list": {
"type": "array",
"items": {
@@ -11680,6 +13105,9 @@
"response.ServiceFeeManageResponse": {
"type": "object",
"properties": {
+ "count": {
+ "type": "integer"
+ },
"list": {
"type": "array",
"items": {
@@ -11691,6 +13119,9 @@
"response.ServiceFollowupResponse": {
"type": "object",
"properties": {
+ "count": {
+ "type": "integer"
+ },
"list": {
"type": "array",
"items": {
@@ -11713,6 +13144,9 @@
"response.SubOrderResponse": {
"type": "object",
"properties": {
+ "count": {
+ "type": "integer"
+ },
"list": {
"type": "array",
"items": {
--
Gitblit v1.8.0