From 68bb7ca9af76f83028da94c53436da679e00f067 Mon Sep 17 00:00:00 2001
From: jiangshuai <291802688@qq.com>
Date: 星期二, 21 十一月 2023 15:33:25 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/aps/crm
---
docs/docs.go | 1731 +++++++++++++++++++++++++++++++++++++++--------------------
1 files changed, 1,131 insertions(+), 600 deletions(-)
diff --git a/docs/docs.go b/docs/docs.go
index 1d57580..fa1dca8 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -404,79 +404,6 @@
}
}
},
- "/api/base/captcha": {
- "post": {
- "produces": [
- "application/json"
- ],
- "tags": [
- "Base"
- ],
- "summary": "鑾峰彇楠岃瘉鐮�",
- "responses": {
- "200": {
- "description": "鎴愬姛",
- "schema": {
- "allOf": [
- {
- "$ref": "#/definitions/contextx.Response"
- },
- {
- "type": "object",
- "properties": {
- "data": {
- "$ref": "#/definitions/response.LoginResponse"
- }
- }
- }
- ]
- }
- }
- }
- }
- },
- "/api/base/login": {
- "post": {
- "produces": [
- "application/json"
- ],
- "tags": [
- "Base"
- ],
- "summary": "鐢ㄦ埛鐧诲綍",
- "parameters": [
- {
- "description": "鏌ヨ鍙傛暟",
- "name": "object",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/request.Login"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "鎴愬姛",
- "schema": {
- "allOf": [
- {
- "$ref": "#/definitions/contextx.Response"
- },
- {
- "type": "object",
- "properties": {
- "data": {
- "$ref": "#/definitions/response.LoginResponse"
- }
- }
- }
- ]
- }
- }
- }
- }
- },
"/api/city/add": {
"post": {
"produces": [
@@ -1267,6 +1194,84 @@
"description": "OK",
"schema": {
"$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/code/getAutoCode": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "缂栫爜"
+ ],
+ "summary": "鑾峰彇鑷姩缂栫爜",
+ "parameters": [
+ {
+ "description": "鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/code.CodeStandard"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/response.ListResponse"
+ }
+ }
+ }
+ }
+ },
+ "/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"
}
}
}
@@ -3312,7 +3317,7 @@
}
},
"/api/invoice/list": {
- "get": {
+ "post": {
"produces": [
"application/json"
],
@@ -3322,43 +3327,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": {
@@ -4942,6 +4917,49 @@
}
}
},
+ "/api/product/getProductOrderInfo/{number}": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "浜у搧"
+ ],
+ "summary": "鑾峰彇浜у搧璁㈠崟淇℃伅",
+ "parameters": [
+ {
+ "type": "string",
+ "description": "鏄庣粏缂栫爜",
+ "name": "number",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "鎴愬姛",
+ "schema": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/contextx.Response"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "data": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/product.WorkOrderInfo"
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
"/api/product/info": {
"get": {
"produces": [
@@ -5520,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"
},
{
@@ -5548,14 +5556,44 @@
"in": "query"
},
{
+ "type": "array",
+ "items": {
+ "type": "integer"
+ },
+ "collectionFormat": "csv",
+ "name": "principleIds",
+ "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"
}
],
@@ -5720,6 +5758,142 @@
"required": true,
"schema": {
"$ref": "#/definitions/request.UpdateRefundMethods"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/refundType/add": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "閫�娆炬柟寮忕鐞�"
+ ],
+ "summary": "娣诲姞閫�娆炬柟寮�",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.AddRefundType"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/refundType/delete/{id}": {
+ "delete": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "閫�娆炬柟寮忕鐞�"
+ ],
+ "summary": "鍒犻櫎閫�娆炬柟寮�",
+ "parameters": [
+ {
+ "type": "integer",
+ "description": "鏌ヨ鍙傛暟",
+ "name": "id",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/refundType/list": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "閫�娆炬柟寮忕鐞�"
+ ],
+ "summary": "鑾峰彇閫�娆炬柟寮忓垪琛�",
+ "parameters": [
+ {
+ "type": "integer",
+ "description": "椤电爜",
+ "name": "page",
+ "in": "query"
+ },
+ {
+ "type": "integer",
+ "description": "姣忛〉澶у皬",
+ "name": "pageSize",
+ "in": "query"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/response.ListResponse"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "data": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.RefundType"
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ "/api/refundType/update": {
+ "put": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "閫�娆炬柟寮忕鐞�"
+ ],
+ "summary": "鏇存柊閫�娆炬柟寮�",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.UpdateRefundType"
}
}
],
@@ -6797,6 +6971,36 @@
}
}
},
+ "/api/salesDetails/createOperation": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "SalesDetails"
+ ],
+ "summary": "鍒涘缓浜у搧鍑哄簱淇℃伅",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.SalesDetails"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/response.ListResponse"
+ }
+ }
+ }
+ }
+ },
"/api/salesDetails/delete": {
"delete": {
"produces": [
@@ -6855,6 +7059,53 @@
}
}
},
+ "/api/salesDetails/getApsProjectList": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "SalesDetails"
+ ],
+ "summary": "鑾峰彇aps椤圭洰鍒楄〃",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/response.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/salesDetails/getProductInventoryInfo/{number}": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "SalesDetails"
+ ],
+ "summary": "鑾峰彇浜у搧搴撳瓨淇℃伅",
+ "parameters": [
+ {
+ "type": "string",
+ "description": "鏄庣粏缂栫爜",
+ "name": "number",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/response.ListResponse"
+ }
+ }
+ }
+ }
+ },
"/api/salesDetails/list": {
"post": {
"produces": [
@@ -6897,6 +7148,36 @@
}
}
},
+ "/api/salesDetails/sendSalesDetailsToApsProject": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "SalesDetails"
+ ],
+ "summary": "鎺ㄩ�侀攢鍞槑缁嗕俊鎭埌aps椤圭洰妯″潡",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.SalesDetails"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/response.ListResponse"
+ }
+ }
+ }
+ }
+ },
"/api/salesDetails/update": {
"put": {
"produces": [
@@ -6914,6 +7195,36 @@
"required": true,
"schema": {
"$ref": "#/definitions/request.UpdateSalesDetails"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/salesDetails/updateStatus": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "SalesDetails"
+ ],
+ "summary": "鏇存柊閿�鍞槑缁嗙姸鎬�",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.UpdateSalesDetailsStatus"
}
}
],
@@ -7825,7 +8136,7 @@
}
},
"/api/serviceCollectionPlan/list": {
- "get": {
+ "post": {
"produces": [
"application/json"
],
@@ -7835,10 +8146,13 @@
"summary": "鑾峰彇鏀舵璁″垝鍒楄〃",
"parameters": [
{
- "type": "integer",
- "description": "鏈嶅姟鍚堝悓id",
- "name": "serviceContractId",
- "in": "query"
+ "description": "鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.GetServiceCollectionPlanList"
+ }
}
],
"responses": {
@@ -9743,259 +10057,6 @@
}
}
},
- "/api/user/changePassword": {
- "post": {
- "produces": [
- "application/json"
- ],
- "tags": [
- "User"
- ],
- "summary": "鐢ㄦ埛淇敼瀵嗙爜",
- "parameters": [
- {
- "description": "鏌ヨ鍙傛暟",
- "name": "object",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/request.ChangePasswordReq"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "鎴愬姛",
- "schema": {
- "$ref": "#/definitions/contextx.Response"
- }
- }
- }
- }
- },
- "/api/user/deleteUser": {
- "delete": {
- "produces": [
- "application/json"
- ],
- "tags": [
- "User"
- ],
- "summary": "鍒犻櫎鐢ㄦ埛",
- "parameters": [
- {
- "description": "鏌ヨ鍙傛暟",
- "name": "object",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/request.DeleteUserReq"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "鎴愬姛",
- "schema": {
- "$ref": "#/definitions/contextx.Response"
- }
- }
- }
- }
- },
- "/api/user/getUserInfo": {
- "post": {
- "produces": [
- "application/json"
- ],
- "tags": [
- "User"
- ],
- "summary": "鑾峰彇鑷韩淇℃伅",
- "responses": {
- "200": {
- "description": "鎴愬姛",
- "schema": {
- "$ref": "#/definitions/contextx.Response"
- }
- }
- }
- }
- },
- "/api/user/getUserList": {
- "post": {
- "produces": [
- "application/json"
- ],
- "tags": [
- "User"
- ],
- "summary": "鍒嗛〉鑾峰彇鐢ㄦ埛鍒楄〃(涓嶄紶鍒嗛〉鍙傛暟锛岃幏鍙栧叏閮�)",
- "parameters": [
- {
- "description": "鏌ヨ鍙傛暟",
- "name": "object",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/request.GetUserList"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "鎴愬姛",
- "schema": {
- "allOf": [
- {
- "$ref": "#/definitions/contextx.Response"
- },
- {
- "type": "object",
- "properties": {
- "data": {
- "$ref": "#/definitions/response.PageResult"
- }
- }
- }
- ]
- }
- }
- }
- }
- },
- "/api/user/register": {
- "post": {
- "produces": [
- "application/json"
- ],
- "tags": [
- "User"
- ],
- "summary": "娉ㄥ唽璐﹀彿",
- "parameters": [
- {
- "description": "鏌ヨ鍙傛暟",
- "name": "object",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/request.Register"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "鎴愬姛",
- "schema": {
- "allOf": [
- {
- "$ref": "#/definitions/contextx.Response"
- },
- {
- "type": "object",
- "properties": {
- "data": {
- "$ref": "#/definitions/response.UserResponse"
- }
- }
- }
- ]
- }
- }
- }
- }
- },
- "/api/user/resetPassword": {
- "post": {
- "produces": [
- "application/json"
- ],
- "tags": [
- "User"
- ],
- "summary": "閲嶇疆鐢ㄦ埛瀵嗙爜",
- "parameters": [
- {
- "description": "鏌ヨ鍙傛暟",
- "name": "object",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/model.User"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "鎴愬姛",
- "schema": {
- "$ref": "#/definitions/contextx.Response"
- }
- }
- }
- }
- },
- "/api/user/setSelfInfo": {
- "post": {
- "produces": [
- "application/json"
- ],
- "tags": [
- "User"
- ],
- "summary": "璁剧疆鐢ㄦ埛淇℃伅",
- "parameters": [
- {
- "description": "鏌ヨ鍙傛暟",
- "name": "object",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/request.ChangeUserInfo"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "鎴愬姛",
- "schema": {
- "$ref": "#/definitions/contextx.Response"
- }
- }
- }
- }
- },
- "/api/user/setUserInfo": {
- "post": {
- "produces": [
- "application/json"
- ],
- "tags": [
- "User"
- ],
- "summary": "璁剧疆鐢ㄦ埛淇℃伅",
- "parameters": [
- {
- "description": "鏌ヨ鍙傛暟",
- "name": "object",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/request.ChangeUserInfo"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "鎴愬姛",
- "schema": {
- "$ref": "#/definitions/contextx.Response"
- }
- }
- }
- }
- },
"/api/vetting/add": {
"post": {
"produces": [
@@ -10221,6 +10282,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": [
@@ -10308,24 +10432,6 @@
"FaqQueryClassExpireLessThen60Days"
]
},
- "constvar.InvoiceKeywordType": {
- "type": "string",
- "enum": [
- ""
- ],
- "x-enum-varnames": [
- "InvoiceKeywordCustomerName"
- ]
- },
- "constvar.InvoiceQueryClass": {
- "type": "string",
- "enum": [
- ""
- ],
- "x-enum-varnames": [
- "InvoiceQueryClassExpireLessThen60Days"
- ]
- },
"constvar.InvoiceSourceType": {
"type": "integer",
"enum": [
@@ -10391,24 +10497,6 @@
"PaymentTypeQueryClassExpireLessThen60Days"
]
},
- "constvar.ReceiptKeywordType": {
- "type": "string",
- "enum": [
- ""
- ],
- "x-enum-varnames": [
- "ReceiptKeywordCustomerName"
- ]
- },
- "constvar.ReceiptQueryClass": {
- "type": "string",
- "enum": [
- ""
- ],
- "x-enum-varnames": [
- "ReceiptQueryClassExpireLessThen60Days"
- ]
- },
"constvar.ReceiptSourceType": {
"type": "integer",
"enum": [
@@ -10418,6 +10506,13 @@
4,
5
],
+ "x-enum-comments": {
+ "ReceiptSourceTypeChuKuDan": "鍑哄簱鍗昳t",
+ "ReceiptSourceTypeCollectionPlan": "鏀舵璁″垝",
+ "ReceiptSourceTypeInvoice": "閿�鍞彂绁�",
+ "ReceiptSourceTypeSalesDetails": "閿�鍞槑缁嗗崟",
+ "ReceiptSourceTypeServiceContract": "鏈嶅姟鍚堝悓"
+ },
"x-enum-varnames": [
"ReceiptSourceTypeSalesDetails",
"ReceiptSourceTypeServiceContract",
@@ -10453,6 +10548,27 @@
"SalesDetailsKeywordTypeSignTime",
"SalesDetailsKeywordTypePrincipal",
"SalesDetailsKeywordTypeProductName"
+ ]
+ },
+ "constvar.SalesDetailsStatus": {
+ "type": "integer",
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4
+ ],
+ "x-enum-comments": {
+ "OverCLose": "宸插叧闂�",
+ "OverOutbound": "鍑哄簱瀹屾垚",
+ "WaitConfirmed": "寰呯‘璁�",
+ "WaitOutbound": "寰呭嚭搴�"
+ },
+ "x-enum-varnames": [
+ "WaitConfirmed",
+ "WaitOutbound",
+ "OverOutbound",
+ "OverCLose"
]
},
"constvar.SalesRefundKeywordType": {
@@ -10825,10 +10941,6 @@
"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"
},
@@ -10862,6 +10974,9 @@
"client_type_id": {
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"contacts": {
"type": "array",
"items": {
@@ -10874,8 +10989,10 @@
"country_id": {
"type": "integer"
},
- "created_at": {
- "description": "The date when the item was created\nexample: 2023-08-10 15:48:25",
+ "createTime": {
+ "type": "string"
+ },
+ "creatorName": {
"type": "string"
},
"creator_id": {
@@ -10903,7 +11020,6 @@
}
},
"id": {
- "description": "The ID of the item\nexample: 1",
"type": "integer"
},
"industry": {
@@ -10960,8 +11076,7 @@
"service_member_id": {
"type": "integer"
},
- "updated_at": {
- "description": "The date when the item was last updated\nexample: 2023-08-10 15:48:25",
+ "updateTime": {
"type": "string"
}
}
@@ -11013,10 +11128,6 @@
"model.CollectionProjection": {
"type": "object",
"properties": {
- "_": {
- "description": "The date when the item was deleted\nexample: 2023-08-10 15:48:25",
- "type": "string"
- },
"created_at": {
"description": "The date when the item was created\nexample: 2023-08-10 15:48:25",
"type": "string"
@@ -11060,6 +11171,9 @@
},
"client_id": {
"type": "integer"
+ },
+ "codeStandID": {
+ "type": "string"
},
"country": {
"$ref": "#/definitions/model.Country"
@@ -11131,6 +11245,9 @@
},
"client_id": {
"type": "integer"
+ },
+ "codeStandID": {
+ "type": "string"
},
"country": {
"$ref": "#/definitions/model.Country"
@@ -11205,15 +11322,17 @@
"model.Contract": {
"type": "object",
"properties": {
- "_": {
- "description": "The date when the item was deleted\nexample: 2023-08-10 15:48:25",
- "type": "string"
- },
"client": {
"$ref": "#/definitions/model.Client"
},
"clientId": {
"type": "integer"
+ },
+ "codeStandID": {
+ "type": "string"
+ },
+ "contractName": {
+ "type": "string"
},
"created_at": {
"description": "The date when the item was created\nexample: 2023-08-10 15:48:25",
@@ -11240,6 +11359,9 @@
},
"quotationId": {
"type": "integer"
+ },
+ "sendTime": {
+ "type": "string"
},
"serviceContractStatus": {
"$ref": "#/definitions/model.ServiceContractStatus"
@@ -11362,6 +11484,9 @@
"client_status_id": {
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"contact": {
"$ref": "#/definitions/model.Contact"
},
@@ -11439,6 +11564,9 @@
"description": "瀹㈡埛id",
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"courierCompany": {
"$ref": "#/definitions/model.CourierCompany"
},
@@ -11474,6 +11602,9 @@
"invoiceTypeId": {
"description": "鍙戠エ绫诲瀷id",
"type": "integer"
+ },
+ "number": {
+ "type": "string"
},
"principalId": {
"description": "閿�鍞礋璐d汉id",
@@ -11559,6 +11690,9 @@
},
"client_id": {
"type": "integer"
+ },
+ "codeStandID": {
+ "type": "string"
},
"end_time": {
"type": "string"
@@ -11756,6 +11890,9 @@
},
"total": {
"type": "number"
+ },
+ "unit": {
+ "type": "string"
}
}
},
@@ -11784,6 +11921,9 @@
},
"client_id": {
"type": "integer"
+ },
+ "codeStandID": {
+ "type": "string"
},
"conditions": {
"type": "string"
@@ -11814,6 +11954,9 @@
"items": {
"$ref": "#/definitions/model.Product"
}
+ },
+ "quotationName": {
+ "type": "string"
},
"quotation_status": {
"$ref": "#/definitions/model.QuotationStatus"
@@ -11869,6 +12012,12 @@
"description": "瀹㈡埛id",
"type": "integer"
},
+ "createTime": {
+ "type": "string"
+ },
+ "creatorName": {
+ "type": "string"
+ },
"fileId": {
"description": "闄勪欢id",
"type": "integer"
@@ -11878,6 +12027,9 @@
},
"moneyType": {
"description": "甯佺",
+ "type": "string"
+ },
+ "number": {
"type": "string"
},
"paymentType": {
@@ -11918,10 +12070,24 @@
"$ref": "#/definitions/constvar.ReceiptSourceType"
}
]
+ },
+ "updateTime": {
+ "type": "string"
}
}
},
"model.RefundMethod": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ }
+ },
+ "model.RefundType": {
"type": "object",
"properties": {
"id": {
@@ -12011,6 +12177,9 @@
"client_id": {
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"collection_projections": {
"type": "array",
"items": {
@@ -12080,6 +12249,12 @@
"process": {
"type": "string"
},
+ "products": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Product"
+ }
+ },
"projected_amount": {
"type": "number"
},
@@ -12124,6 +12299,14 @@
},
"solutions": {
"type": "string"
+ },
+ "status": {
+ "description": "鐘舵��",
+ "allOf": [
+ {
+ "$ref": "#/definitions/model.Status"
+ }
+ ]
},
"status_id": {
"type": "integer"
@@ -12196,6 +12379,9 @@
"clientId": {
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"conditions": {
"type": "string"
},
@@ -12207,6 +12393,9 @@
},
"creatorName": {
"type": "string"
+ },
+ "deliverType": {
+ "type": "integer"
},
"deliveryDate": {
"type": "string"
@@ -12238,6 +12427,15 @@
"$ref": "#/definitions/model.Product"
}
},
+ "projectId": {
+ "type": "string"
+ },
+ "quotation": {
+ "$ref": "#/definitions/model.Quotation"
+ },
+ "quotationId": {
+ "type": "integer"
+ },
"remark": {
"type": "string"
},
@@ -12252,6 +12450,12 @@
},
"signTime": {
"type": "string"
+ },
+ "source": {
+ "type": "string"
+ },
+ "status": {
+ "$ref": "#/definitions/constvar.SalesDetailsStatus"
},
"updateTime": {
"type": "string"
@@ -12273,6 +12477,9 @@
"city_id": {
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"contact_name": {
"type": "string"
},
@@ -12289,6 +12496,9 @@
"type": "integer"
},
"desc": {
+ "type": "string"
+ },
+ "detail_address": {
"type": "string"
},
"followRecord": {
@@ -12341,6 +12551,14 @@
"model.SalesRefund": {
"type": "object",
"properties": {
+ "RefundType": {
+ "description": "閫�娆炬柟寮�",
+ "allOf": [
+ {
+ "$ref": "#/definitions/model.RefundType"
+ }
+ ]
+ },
"amountTotal": {
"description": "浠风◣鍚堣",
"type": "number"
@@ -12357,6 +12575,9 @@
},
"clientId": {
"type": "integer"
+ },
+ "codeStandID": {
+ "type": "string"
},
"createTime": {
"type": "string"
@@ -12397,6 +12618,13 @@
},
"refundDate": {
"type": "string"
+ },
+ "refundTypeId": {
+ "description": "閫�娆炬柟寮廔D",
+ "type": "integer"
+ },
+ "salesReturn": {
+ "$ref": "#/definitions/model.SalesReturn"
},
"sourceId": {
"description": "婧愬崟id",
@@ -12443,6 +12671,9 @@
"clientId": {
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"createTime": {
"type": "string"
},
@@ -12479,6 +12710,9 @@
"salesReturnStatusId": {
"description": "閫�璐х姸鎬乮d",
"type": "integer"
+ },
+ "source": {
+ "$ref": "#/definitions/model.SalesDetails"
},
"sourceId": {
"description": "婧愬崟id",
@@ -12572,6 +12806,14 @@
"description": "姣斾緥",
"type": "number"
},
+ "principal": {
+ "description": "鏀舵璐熻矗浜篒D",
+ "allOf": [
+ {
+ "$ref": "#/definitions/model.User"
+ }
+ ]
+ },
"principalId": {
"description": "鏀舵璐熻矗浜篒D",
"type": "integer"
@@ -12637,6 +12879,9 @@
},
"clientId": {
"type": "integer"
+ },
+ "codeStandID": {
+ "type": "string"
},
"contact": {
"$ref": "#/definitions/model.Contact"
@@ -12778,6 +13023,9 @@
"clientId": {
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"contact": {
"$ref": "#/definitions/model.Contact"
},
@@ -12875,6 +13123,9 @@
"description": "瀹㈡埛id",
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"contact": {
"$ref": "#/definitions/model.Contact"
},
@@ -12908,6 +13159,9 @@
},
"id": {
"type": "integer"
+ },
+ "number": {
+ "type": "string"
},
"priorityLevel": {
"$ref": "#/definitions/model.PriorityLevel"
@@ -12989,6 +13243,10 @@
},
"severity": {
"$ref": "#/definitions/model.Severity"
+ },
+ "severityId": {
+ "description": "涓ラ噸绋嬪害id",
+ "type": "integer"
},
"solution": {
"description": "瑙e喅鏂规硶",
@@ -13077,6 +13335,9 @@
},
"clientId": {
"type": "integer"
+ },
+ "codeStandID": {
+ "type": "string"
},
"id": {
"type": "integer"
@@ -13167,6 +13428,10 @@
"realName": {
"type": "string"
},
+ "subUserIds": {
+ "description": "涓嬪睘鍛樺伐鐢ㄦ埛id,鐢ㄩ�楀彿鍒嗗紑",
+ "type": "string"
+ },
"userType": {
"$ref": "#/definitions/constvar.UserType"
},
@@ -13204,11 +13469,19 @@
"description": "鐗╂枡绫诲瀷",
"type": "string"
},
+ "MaxInventory": {
+ "description": "鏈�澶у簱瀛�",
+ "type": "integer"
+ },
"MinInventory": {
"description": "瀹夊叏搴撳瓨",
"type": "integer"
},
"Name": {
+ "type": "string"
+ },
+ "Node": {
+ "description": "澶囨敞",
"type": "string"
},
"Number": {
@@ -13222,7 +13495,41 @@
"description": "閿�鍞环鏍�",
"type": "number"
},
+ "Specs": {
+ "description": "瑙勬牸",
+ "type": "string"
+ },
+ "Type": {
+ "description": "鍨嬪彿",
+ "type": "string"
+ },
"Unit": {
+ "type": "string"
+ }
+ }
+ },
+ "product.WorkOrderInfo": {
+ "type": "object",
+ "properties": {
+ "EndTime": {
+ "type": "string"
+ },
+ "OrderId": {
+ "type": "string"
+ },
+ "OrderStatus": {
+ "type": "string"
+ },
+ "ProductName": {
+ "type": "string"
+ },
+ "StartTime": {
+ "type": "string"
+ },
+ "WorkOrderId": {
+ "type": "string"
+ },
+ "WorkOrderStatus": {
"type": "string"
}
}
@@ -13300,6 +13607,10 @@
"client_type_id": {
"description": "瀹㈡埛绫诲瀷ID",
"type": "integer"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
},
"contact": {
"$ref": "#/definitions/request.Contact"
@@ -13501,6 +13812,14 @@
"client_id": {
"type": "integer"
},
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
+ "contractName": {
+ "description": "鍚堝悓鍚嶇О",
+ "type": "string"
+ },
"file": {
"type": "string"
},
@@ -13512,6 +13831,10 @@
},
"quotation_id": {
"type": "integer"
+ },
+ "sendTime": {
+ "description": "鍙戣揣鏃堕棿",
+ "type": "string"
},
"status_id": {
"type": "integer"
@@ -13653,6 +13976,9 @@
"description": "瀹㈡埛id",
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"courierCompanyId": {
"description": "鐗╂祦鍏徃",
"type": "integer"
@@ -13676,6 +14002,10 @@
"invoiceTypeId": {
"description": "鍙戠エ绫诲瀷id",
"type": "integer"
+ },
+ "number": {
+ "description": "鍙戠エ缂栧彿",
+ "type": "string"
},
"principalId": {
"description": "閿�鍞礋璐d汉id",
@@ -13759,6 +14089,10 @@
"properties": {
"client_id": {
"type": "integer"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
},
"end_time": {
"type": "string"
@@ -13876,6 +14210,10 @@
"client_id": {
"type": "integer"
},
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"conditions": {
"type": "string"
},
@@ -13896,6 +14234,10 @@
"items": {
"$ref": "#/definitions/model.Product"
}
+ },
+ "quotationName": {
+ "description": "鎶ヤ环鍗曞悕绉�",
+ "type": "string"
},
"quotation_status_id": {
"type": "integer"
@@ -13945,6 +14287,12 @@
"description": "瀹㈡埛id",
"type": "integer"
},
+ "createTime": {
+ "type": "string"
+ },
+ "creatorName": {
+ "type": "string"
+ },
"fileId": {
"description": "闄勪欢id",
"type": "integer"
@@ -13954,6 +14302,9 @@
},
"moneyType": {
"description": "甯佺",
+ "type": "string"
+ },
+ "number": {
"type": "string"
},
"paymentType": {
@@ -13994,6 +14345,9 @@
"$ref": "#/definitions/constvar.ReceiptSourceType"
}
]
+ },
+ "updateTime": {
+ "type": "string"
}
}
},
@@ -14003,6 +14357,17 @@
"name"
],
"properties": {
+ "name": {
+ "type": "string"
+ }
+ }
+ },
+ "request.AddRefundType": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
"name": {
"type": "string"
}
@@ -14079,6 +14444,10 @@
"client_id": {
"type": "integer"
},
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"competitors": {
"type": "string"
},
@@ -14126,6 +14495,12 @@
},
"process": {
"type": "string"
+ },
+ "products": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Product"
+ }
},
"projected_amount": {
"type": "number"
@@ -14190,17 +14565,31 @@
"request.AddSalesDetails": {
"type": "object",
"properties": {
+ "Member": {
+ "$ref": "#/definitions/model.User"
+ },
"address": {
"type": "string"
},
"addressee": {
"type": "string"
},
+ "client": {
+ "$ref": "#/definitions/model.Client"
+ },
"clientId": {
"type": "integer"
},
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"conditions": {
"type": "string"
+ },
+ "deliverType": {
+ "description": "浜や粯绫诲瀷:1.涓�娆″彂璐�,2.澶氭鍙戣揣",
+ "type": "integer"
},
"deliveryDate": {
"type": "string"
@@ -14229,6 +14618,12 @@
"$ref": "#/definitions/model.Product"
}
},
+ "projectId": {
+ "type": "string"
+ },
+ "quotationId": {
+ "type": "integer"
+ },
"remark": {
"type": "string"
},
@@ -14241,6 +14636,12 @@
"signTime": {
"type": "string"
},
+ "source": {
+ "type": "string"
+ },
+ "status": {
+ "$ref": "#/definitions/constvar.SalesDetailsStatus"
+ },
"wechatOrderStatusId": {
"type": "integer"
}
@@ -14251,6 +14652,10 @@
"properties": {
"city_id": {
"type": "integer"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
},
"contact_name": {
"description": "鑱旂郴浜哄鍚�",
@@ -14269,6 +14674,10 @@
},
"desc": {
"description": "澶囨敞",
+ "type": "string"
+ },
+ "detail_address": {
+ "description": "璇︾粏鍦板潃",
"type": "string"
},
"member_id": {
@@ -14366,6 +14775,10 @@
"properties": {
"clientId": {
"type": "integer"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
},
"contactId": {
"type": "integer"
@@ -14471,6 +14884,10 @@
"description": "瀹㈡埛绫诲瀷ID",
"type": "integer"
},
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"contact": {
"$ref": "#/definitions/request.Contact"
},
@@ -14561,6 +14978,10 @@
"clientId": {
"type": "integer"
},
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"contactId": {
"type": "integer"
},
@@ -14621,6 +15042,10 @@
"clientId": {
"description": "瀹㈡埛id",
"type": "integer"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
},
"contactId": {
"description": "鑱旂郴浜篿d",
@@ -14690,7 +15115,7 @@
"description": "鏈嶅姟鏂瑰紡id",
"type": "integer"
},
- "severity": {
+ "severityId": {
"description": "涓ラ噸绋嬪害id",
"type": "integer"
},
@@ -14772,6 +15197,10 @@
"properties": {
"clientId": {
"type": "integer"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
},
"masterOrderId": {
"type": "integer"
@@ -14877,48 +15306,6 @@
},
"path": {
"description": "璺緞",
- "type": "string"
- }
- }
- },
- "request.ChangePasswordReq": {
- "type": "object",
- "properties": {
- "newPassword": {
- "description": "鏂板瘑鐮�",
- "type": "string"
- },
- "password": {
- "description": "瀵嗙爜",
- "type": "string"
- }
- }
- },
- "request.ChangeUserInfo": {
- "type": "object",
- "properties": {
- "email": {
- "description": "鐢ㄦ埛閭",
- "type": "string"
- },
- "headerImg": {
- "description": "鐢ㄦ埛澶村儚",
- "type": "string"
- },
- "id": {
- "description": "鐢ㄦ埛ID",
- "type": "string"
- },
- "nickName": {
- "description": "鐢ㄦ埛鏄电О",
- "type": "string"
- },
- "phone": {
- "description": "鐢ㄦ埛鎵嬫満鍙�",
- "type": "string"
- },
- "pos": {
- "description": "鐢ㄦ埛宀椾綅",
"type": "string"
}
}
@@ -15152,15 +15539,6 @@
}
}
},
- "request.DeleteUserReq": {
- "type": "object",
- "properties": {
- "userId": {
- "description": "鐢ㄦ埛ID",
- "type": "string"
- }
- }
- },
"request.DownloadFile": {
"type": "object",
"required": [
@@ -15196,6 +15574,9 @@
},
"client_status_id": {
"type": "integer"
+ },
+ "codeStandID": {
+ "type": "string"
},
"contact_id": {
"type": "integer"
@@ -15247,7 +15628,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\": \"閲嶈绾у埆\",\"representative\": \"娉曞畾浠h〃浜篭", \"registration_time\": \"娉ㄥ唽鏃堕棿\", \"business_scope\": \"缁忚惀鑼冨洿\", \"remark\": \"澶囨敞\"}",
+ "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
}
@@ -15256,6 +15637,10 @@
"request.GetContactList": {
"type": "object",
"properties": {
+ "clientId": {
+ "description": "瀹㈡埛id",
+ "type": "integer"
+ },
"page": {
"description": "椤电爜",
"type": "integer"
@@ -15326,6 +15711,36 @@
"description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"topic\": \"璺熻繘涓婚\", \"member_name\": \"璺熻繘浜篭", \"client_name\": \"瀹㈡埛鍚嶇О\", \"client_status\": \"瀹㈡埛鐘舵�乗", \"follow_time\": \"璺熻繘鏃堕棿\", \"next_follow_time\": \"涓嬫璺熻繘鏃堕棿\", \"record\": \"璺熻繘璁板綍\", \"phone\": \"鑱旂郴浜虹數璇漒", \"contact_name\": \"鑱旂郴浜哄鍚峔", \"sales_leads_id\": \"閿�鍞嚎绱d\", \"sale_chance_id\": \"閿�鍞満浼歩d\"}",
"type": "object",
"additionalProperties": true
+ }
+ }
+ },
+ "request.GetInvoiceList": {
+ "type": "object",
+ "properties": {
+ "page": {
+ "description": "椤电爜",
+ "type": "integer"
+ },
+ "pageSize": {
+ "description": "姣忛〉澶у皬",
+ "type": "integer"
+ },
+ "principalIds": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "sourceId": {
+ "type": "integer"
+ },
+ "sourceType": {
+ "description": "婧愬崟绫诲瀷(1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓)",
+ "allOf": [
+ {
+ "$ref": "#/definitions/constvar.InvoiceSourceType"
+ }
+ ]
}
}
},
@@ -15418,11 +15833,19 @@
"request.GetSalesDetailsList": {
"type": "object",
"properties": {
+ "clientId": {
+ "description": "瀹㈡埛id",
+ "type": "integer"
+ },
"keyword": {
"type": "string"
},
"keywordType": {
"$ref": "#/definitions/constvar.SalesDetailsKeywordType"
+ },
+ "number": {
+ "description": "閿�鍞槑缁嗗崟鍙�",
+ "type": "string"
},
"page": {
"description": "椤电爜",
@@ -15430,6 +15853,10 @@
},
"pageSize": {
"description": "姣忛〉澶у皬",
+ "type": "integer"
+ },
+ "saleChanceId": {
+ "description": "閿�鍞満浼歩d",
"type": "integer"
}
}
@@ -15468,12 +15895,19 @@
"pageSize": {
"description": "姣忛〉澶у皬",
"type": "integer"
+ },
+ "sourceId": {
+ "type": "integer"
}
}
},
"request.GetSalesReturnList": {
"type": "object",
"properties": {
+ "clientId": {
+ "description": "瀹㈡埛id",
+ "type": "integer"
+ },
"keyword": {
"type": "string"
},
@@ -15487,12 +15921,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"
},
@@ -15509,6 +15974,18 @@
},
"queryClass": {
"$ref": "#/definitions/constvar.ServiceContractQueryClass"
+ },
+ "quotationId": {
+ "description": "鎶ヤ环鍗昳d",
+ "type": "integer"
+ },
+ "saleChanceId": {
+ "description": "閿�鍞満浼歩d",
+ "type": "integer"
+ },
+ "salesDetailsId": {
+ "description": "鍚堝悓璁㈠崟id",
+ "type": "integer"
}
}
},
@@ -15603,44 +16080,6 @@
}
}
},
- "request.GetUserList": {
- "type": "object",
- "properties": {
- "keyword": {
- "description": "妯$硦鏌ヨ鍏抽敭瀛�",
- "type": "string"
- },
- "page": {
- "description": "椤电爜",
- "type": "integer"
- },
- "pageSize": {
- "description": "姣忛〉澶у皬",
- "type": "integer"
- }
- }
- },
- "request.Login": {
- "type": "object",
- "properties": {
- "captcha": {
- "description": "楠岃瘉鐮�",
- "type": "string"
- },
- "captchaId": {
- "description": "楠岃瘉鐮両D",
- "type": "string"
- },
- "password": {
- "description": "瀵嗙爜",
- "type": "string"
- },
- "username": {
- "description": "鐢ㄦ埛鍚�",
- "type": "string"
- }
- }
- },
"request.Plan": {
"type": "object",
"properties": {
@@ -15707,66 +16146,34 @@
}
}
},
- "request.Register": {
- "type": "object",
- "properties": {
- "authorityId": {
- "description": "鐢ㄦ埛瑙掕壊ID",
- "type": "integer"
- },
- "departmentId": {
- "type": "integer"
- },
- "email": {
- "type": "string"
- },
- "headerImg": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "nickName": {
- "type": "string"
- },
- "password": {
- "type": "string"
- },
- "phone": {
- "type": "string"
- },
- "pos": {
- "type": "string"
- },
- "rePassword": {
- "description": "纭瀵嗙爜",
- "type": "string"
- },
- "realName": {
- "type": "string"
- },
- "userType": {
- "$ref": "#/definitions/constvar.UserType"
- },
- "username": {
- "type": "string"
- }
- }
- },
"request.SalesDetails": {
"type": "object",
"properties": {
+ "Member": {
+ "$ref": "#/definitions/model.User"
+ },
"address": {
"type": "string"
},
"addressee": {
"type": "string"
},
+ "client": {
+ "$ref": "#/definitions/model.Client"
+ },
"clientId": {
"type": "integer"
},
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"conditions": {
"type": "string"
+ },
+ "deliverType": {
+ "description": "浜や粯绫诲瀷:1.涓�娆″彂璐�,2.澶氭鍙戣揣",
+ "type": "integer"
},
"deliveryDate": {
"type": "string"
@@ -15795,6 +16202,12 @@
"$ref": "#/definitions/model.Product"
}
},
+ "projectId": {
+ "type": "string"
+ },
+ "quotationId": {
+ "type": "integer"
+ },
"remark": {
"type": "string"
},
@@ -15806,6 +16219,12 @@
},
"signTime": {
"type": "string"
+ },
+ "source": {
+ "type": "string"
+ },
+ "status": {
+ "$ref": "#/definitions/constvar.SalesDetailsStatus"
},
"wechatOrderStatusId": {
"type": "integer"
@@ -15825,6 +16244,10 @@
},
"clientId": {
"type": "integer"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
},
"isInvoice": {
"type": "string"
@@ -15870,6 +16293,10 @@
"properties": {
"clientId": {
"type": "integer"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
},
"memberId": {
"type": "integer"
@@ -16065,6 +16492,10 @@
"client_type_id": {
"description": "瀹㈡埛绫诲瀷ID",
"type": "integer"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
},
"contact": {
"$ref": "#/definitions/request.Contact"
@@ -16351,6 +16782,14 @@
"client_id": {
"type": "integer"
},
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
+ "contractName": {
+ "description": "鍚堝悓鍚嶇О",
+ "type": "string"
+ },
"file": {
"type": "string"
},
@@ -16365,6 +16804,10 @@
},
"quotation_id": {
"type": "integer"
+ },
+ "sendTime": {
+ "description": "鍙戣揣鏃堕棿",
+ "type": "string"
},
"status_id": {
"type": "integer"
@@ -16603,6 +17046,9 @@
"description": "瀹㈡埛id",
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"courierCompanyId": {
"description": "鐗╂祦鍏徃",
"type": "integer"
@@ -16629,6 +17075,10 @@
"invoiceTypeId": {
"description": "鍙戠エ绫诲瀷id",
"type": "integer"
+ },
+ "number": {
+ "description": "鍙戠エ缂栧彿",
+ "type": "string"
},
"principalId": {
"description": "閿�鍞礋璐d汉id",
@@ -16744,6 +17194,10 @@
"properties": {
"client_id": {
"type": "integer"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
},
"end_time": {
"type": "string"
@@ -16922,6 +17376,10 @@
"client_id": {
"type": "integer"
},
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"conditions": {
"type": "string"
},
@@ -16945,6 +17403,10 @@
"items": {
"$ref": "#/definitions/model.Product"
}
+ },
+ "quotationName": {
+ "description": "鎶ヤ环鍗曞悕绉�",
+ "type": "string"
},
"quotation_status_id": {
"type": "integer"
@@ -17012,6 +17474,12 @@
"description": "瀹㈡埛id",
"type": "integer"
},
+ "createTime": {
+ "type": "string"
+ },
+ "creatorName": {
+ "type": "string"
+ },
"fileId": {
"description": "闄勪欢id",
"type": "integer"
@@ -17021,6 +17489,9 @@
},
"moneyType": {
"description": "甯佺",
+ "type": "string"
+ },
+ "number": {
"type": "string"
},
"paymentType": {
@@ -17061,6 +17532,9 @@
"$ref": "#/definitions/constvar.ReceiptSourceType"
}
]
+ },
+ "updateTime": {
+ "type": "string"
}
}
},
@@ -17090,6 +17564,17 @@
"items": {
"$ref": "#/definitions/request.UpdateRefundMethod"
}
+ }
+ }
+ },
+ "request.UpdateRefundType": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
}
}
},
@@ -17252,6 +17737,10 @@
"client_id": {
"type": "integer"
},
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"competitors": {
"type": "string"
},
@@ -17302,6 +17791,12 @@
},
"process": {
"type": "string"
+ },
+ "products": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Product"
+ }
},
"projected_amount": {
"type": "number"
@@ -17410,11 +17905,26 @@
}
}
},
+ "request.UpdateSalesDetailsStatus": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "status": {
+ "$ref": "#/definitions/constvar.SalesDetailsStatus"
+ }
+ }
+ },
"request.UpdateSalesLeads": {
"type": "object",
"properties": {
"city_id": {
"type": "integer"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
},
"contact_name": {
"description": "鑱旂郴浜哄鍚�",
@@ -17433,6 +17943,10 @@
},
"desc": {
"description": "澶囨敞",
+ "type": "string"
+ },
+ "detail_address": {
+ "description": "璇︾粏鍦板潃",
"type": "string"
},
"id": {
@@ -17610,6 +18124,14 @@
"description": "姣斾緥",
"type": "number"
},
+ "principal": {
+ "description": "鏀舵璐熻矗浜篒D",
+ "allOf": [
+ {
+ "$ref": "#/definitions/model.User"
+ }
+ ]
+ },
"principalId": {
"description": "鏀舵璐熻矗浜篒D",
"type": "integer"
@@ -17652,6 +18174,10 @@
"properties": {
"clientId": {
"type": "integer"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
},
"contactId": {
"type": "integer"
@@ -17778,6 +18304,10 @@
"description": "瀹㈡埛绫诲瀷ID",
"type": "integer"
},
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"contact": {
"$ref": "#/definitions/request.Contact"
},
@@ -17869,6 +18399,10 @@
"clientId": {
"type": "integer"
},
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"contactId": {
"type": "integer"
},
@@ -17932,6 +18466,10 @@
"clientId": {
"description": "瀹㈡埛id",
"type": "integer"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
},
"contactId": {
"description": "鑱旂郴浜篿d",
@@ -18004,7 +18542,7 @@
"description": "鏈嶅姟鏂瑰紡id",
"type": "integer"
},
- "severity": {
+ "severityId": {
"description": "涓ラ噸绋嬪害id",
"type": "integer"
},
@@ -18122,6 +18660,10 @@
"properties": {
"clientId": {
"type": "integer"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
},
"id": {
"type": "integer"
@@ -18759,21 +19301,6 @@
}
}
},
- "response.PageResult": {
- "type": "object",
- "properties": {
- "list": {},
- "page": {
- "type": "integer"
- },
- "pageSize": {
- "type": "integer"
- },
- "total": {
- "type": "integer"
- }
- }
- },
"response.PlanResponse": {
"type": "object",
"properties": {
@@ -18887,6 +19414,18 @@
"items": {
"$ref": "#/definitions/model.Repository"
}
+ }
+ }
+ },
+ "response.Response": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "integer"
+ },
+ "data": {},
+ "msg": {
+ "type": "string"
}
}
},
@@ -19101,14 +19640,6 @@
"items": {
"$ref": "#/definitions/model.TimelyRate"
}
- }
- }
- },
- "response.UserResponse": {
- "type": "object",
- "properties": {
- "user": {
- "$ref": "#/definitions/model.User"
}
}
}
--
Gitblit v1.8.0