From 5b8f003464bd55678862534232228f61745ffafe Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期五, 15 十二月 2023 11:05:35 +0800
Subject: [PATCH] 提示信息修改
---
docs/swagger.json | 1387 +++++++++++++++++++++++++++++---------------------------
1 files changed, 718 insertions(+), 669 deletions(-)
diff --git a/docs/swagger.json b/docs/swagger.json
index 52a2c3a..349a879 100644
--- a/docs/swagger.json
+++ b/docs/swagger.json
@@ -392,79 +392,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": [
@@ -1255,6 +1182,36 @@
"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"
}
}
}
@@ -3348,7 +3305,7 @@
}
},
"/api/invoice/list": {
- "get": {
+ "post": {
"produces": [
"application/json"
],
@@ -3358,43 +3315,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": {
@@ -4978,6 +4905,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": [
@@ -5557,6 +5527,12 @@
"parameters": [
{
"type": "integer",
+ "description": "瀹㈡埛id",
+ "name": "clientId",
+ "in": "query"
+ },
+ {
+ "type": "integer",
"description": "椤电爜",
"name": "page",
"in": "query"
@@ -5565,6 +5541,15 @@
"type": "integer",
"description": "姣忛〉澶у皬",
"name": "pageSize",
+ "in": "query"
+ },
+ {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ },
+ "collectionFormat": "csv",
+ "name": "principleIds",
"in": "query"
},
{
@@ -5595,6 +5580,7 @@
"ReceiptSourceTypeCollectionPlan",
"ReceiptSourceTypeChuKuDan"
],
+ "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級",
"name": "sourceType",
"in": "query"
}
@@ -5760,6 +5746,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"
}
}
],
@@ -6895,6 +7017,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": [
@@ -6937,6 +7106,36 @@
}
}
},
+ "/api/salesDetails/sendSalesDetailsToOtherSystem": {
+ "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/update": {
"put": {
"produces": [
@@ -6954,6 +7153,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"
}
}
],
@@ -7865,7 +8094,7 @@
}
},
"/api/serviceCollectionPlan/list": {
- "get": {
+ "post": {
"produces": [
"application/json"
],
@@ -7875,28 +8104,13 @@
"summary": "鑾峰彇鏀舵璁″垝鍒楄〃",
"parameters": [
{
- "type": "integer",
- "name": "sourceId",
- "in": "query",
- "required": true
- },
- {
- "enum": [
- 1,
- 2
- ],
- "type": "integer",
- "x-enum-comments": {
- "CollectionSourceTypeSaleDetails": "閿�鍞槑缁�",
- "CollectionSourceTypeServiceContract": "鏈嶅姟鍚堝悓"
- },
- "x-enum-varnames": [
- "CollectionSourceTypeSaleDetails",
- "CollectionSourceTypeServiceContract"
- ],
- "name": "sourceType",
- "in": "query",
- "required": true
+ "description": "鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.GetServiceCollectionPlanList"
+ }
}
],
"responses": {
@@ -9801,259 +10015,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": [
@@ -10429,24 +10390,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": [
@@ -10563,6 +10506,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": {
@@ -11325,6 +11289,9 @@
"codeStandID": {
"type": "string"
},
+ "contractName": {
+ "type": "string"
+ },
"created_at": {
"description": "The date when the item was created\nexample: 2023-08-10 15:48:25",
"type": "string"
@@ -11350,6 +11317,9 @@
},
"quotationId": {
"type": "integer"
+ },
+ "sendTime": {
+ "type": "string"
},
"serviceContractStatus": {
"$ref": "#/definitions/model.ServiceContractStatus"
@@ -11552,6 +11522,9 @@
"description": "瀹㈡埛id",
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"courierCompany": {
"$ref": "#/definitions/model.CourierCompany"
},
@@ -11587,6 +11560,9 @@
"invoiceTypeId": {
"description": "鍙戠エ绫诲瀷id",
"type": "integer"
+ },
+ "number": {
+ "type": "string"
},
"principalId": {
"description": "閿�鍞礋璐d汉id",
@@ -11872,6 +11848,9 @@
},
"total": {
"type": "number"
+ },
+ "unit": {
+ "type": "string"
}
}
},
@@ -11933,6 +11912,9 @@
"items": {
"$ref": "#/definitions/model.Product"
}
+ },
+ "quotationName": {
+ "type": "string"
},
"quotation_status": {
"$ref": "#/definitions/model.QuotationStatus"
@@ -12053,6 +12035,17 @@
}
},
"model.RefundMethod": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ }
+ },
+ "model.RefundType": {
"type": "object",
"properties": {
"id": {
@@ -12214,6 +12207,12 @@
"process": {
"type": "string"
},
+ "products": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Product"
+ }
+ },
"projected_amount": {
"type": "number"
},
@@ -12258,6 +12257,14 @@
},
"solutions": {
"type": "string"
+ },
+ "status": {
+ "description": "鐘舵��",
+ "allOf": [
+ {
+ "$ref": "#/definitions/model.Status"
+ }
+ ]
},
"status_id": {
"type": "integer"
@@ -12345,6 +12352,9 @@
"creatorName": {
"type": "string"
},
+ "deliverType": {
+ "type": "integer"
+ },
"deliveryDate": {
"type": "string"
},
@@ -12375,6 +12385,15 @@
"$ref": "#/definitions/model.Product"
}
},
+ "projectId": {
+ "type": "string"
+ },
+ "quotation": {
+ "$ref": "#/definitions/model.Quotation"
+ },
+ "quotationId": {
+ "type": "integer"
+ },
"remark": {
"type": "string"
},
@@ -12389,6 +12408,12 @@
},
"signTime": {
"type": "string"
+ },
+ "source": {
+ "type": "string"
+ },
+ "status": {
+ "$ref": "#/definitions/constvar.SalesDetailsStatus"
},
"updateTime": {
"type": "string"
@@ -12484,8 +12509,13 @@
"model.SalesRefund": {
"type": "object",
"properties": {
- "Source": {
- "$ref": "#/definitions/model.SalesReturn"
+ "RefundType": {
+ "description": "閫�娆炬柟寮�",
+ "allOf": [
+ {
+ "$ref": "#/definitions/model.RefundType"
+ }
+ ]
},
"amountTotal": {
"description": "浠风◣鍚堣",
@@ -12546,6 +12576,13 @@
},
"refundDate": {
"type": "string"
+ },
+ "refundTypeId": {
+ "description": "閫�娆炬柟寮廔D",
+ "type": "integer"
+ },
+ "salesReturn": {
+ "$ref": "#/definitions/model.SalesReturn"
},
"sourceId": {
"description": "婧愬崟id",
@@ -13165,6 +13202,10 @@
"severity": {
"$ref": "#/definitions/model.Severity"
},
+ "severityId": {
+ "description": "涓ラ噸绋嬪害id",
+ "type": "integer"
+ },
"solution": {
"description": "瑙e喅鏂规硶",
"type": "string"
@@ -13345,6 +13386,10 @@
"realName": {
"type": "string"
},
+ "subUserIds": {
+ "description": "涓嬪睘鍛樺伐鐢ㄦ埛id,鐢ㄩ�楀彿鍒嗗紑",
+ "type": "string"
+ },
"userType": {
"$ref": "#/definitions/constvar.UserType"
},
@@ -13417,6 +13462,32 @@
"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"
}
}
@@ -13494,9 +13565,6 @@
"client_type_id": {
"description": "瀹㈡埛绫诲瀷ID",
"type": "integer"
- },
- "codeRule": {
- "$ref": "#/definitions/code.CodeStandard"
},
"codeStandID": {
"description": "缂栫爜id",
@@ -13646,13 +13714,6 @@
"description": "鎵�灞炲叕鍙窱D",
"type": "integer"
},
- "codeRule": {
- "$ref": "#/definitions/code.CodeStandard"
- },
- "codeStandID": {
- "description": "缂栫爜id",
- "type": "string"
- },
"country_id": {
"description": "鍥藉ID",
"type": "integer"
@@ -13709,11 +13770,12 @@
"client_id": {
"type": "integer"
},
- "codeRule": {
- "$ref": "#/definitions/code.CodeStandard"
- },
"codeStandID": {
"description": "缂栫爜id",
+ "type": "string"
+ },
+ "contractName": {
+ "description": "鍚堝悓鍚嶇О",
"type": "string"
},
"file": {
@@ -13727,6 +13789,10 @@
},
"quotation_id": {
"type": "integer"
+ },
+ "sendTime": {
+ "description": "鍙戣揣鏃堕棿",
+ "type": "string"
},
"status_id": {
"type": "integer"
@@ -13868,6 +13934,9 @@
"description": "瀹㈡埛id",
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"courierCompanyId": {
"description": "鐗╂祦鍏徃",
"type": "integer"
@@ -13891,6 +13960,10 @@
"invoiceTypeId": {
"description": "鍙戠エ绫诲瀷id",
"type": "integer"
+ },
+ "number": {
+ "description": "鍙戠エ缂栧彿",
+ "type": "string"
},
"principalId": {
"description": "閿�鍞礋璐d汉id",
@@ -13974,9 +14047,6 @@
"properties": {
"client_id": {
"type": "integer"
- },
- "codeRule": {
- "$ref": "#/definitions/code.CodeStandard"
},
"codeStandID": {
"description": "缂栫爜id",
@@ -14098,9 +14168,6 @@
"client_id": {
"type": "integer"
},
- "codeRule": {
- "$ref": "#/definitions/code.CodeStandard"
- },
"codeStandID": {
"description": "缂栫爜id",
"type": "string"
@@ -14125,6 +14192,10 @@
"items": {
"$ref": "#/definitions/model.Product"
}
+ },
+ "quotationName": {
+ "description": "鎶ヤ环鍗曞悕绉�",
+ "type": "string"
},
"quotation_status_id": {
"type": "integer"
@@ -14249,6 +14320,17 @@
}
}
},
+ "request.AddRefundType": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ }
+ },
"request.AddRegion": {
"type": "object",
"properties": {
@@ -14320,9 +14402,6 @@
"client_id": {
"type": "integer"
},
- "codeRule": {
- "$ref": "#/definitions/code.CodeStandard"
- },
"codeStandID": {
"description": "缂栫爜id",
"type": "string"
@@ -14374,6 +14453,12 @@
},
"process": {
"type": "string"
+ },
+ "products": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Product"
+ }
},
"projected_amount": {
"type": "number"
@@ -14438,17 +14523,20 @@
"request.AddSalesDetails": {
"type": "object",
"properties": {
+ "Member": {
+ "$ref": "#/definitions/model.User"
+ },
"address": {
"type": "string"
},
"addressee": {
"type": "string"
},
+ "client": {
+ "$ref": "#/definitions/model.Client"
+ },
"clientId": {
"type": "integer"
- },
- "codeRule": {
- "$ref": "#/definitions/code.CodeStandard"
},
"codeStandID": {
"description": "缂栫爜id",
@@ -14456,6 +14544,10 @@
},
"conditions": {
"type": "string"
+ },
+ "deliverType": {
+ "description": "浜や粯绫诲瀷:1.涓�娆″彂璐�,2.澶氭鍙戣揣",
+ "type": "integer"
},
"deliveryDate": {
"type": "string"
@@ -14484,6 +14576,12 @@
"$ref": "#/definitions/model.Product"
}
},
+ "projectId": {
+ "type": "string"
+ },
+ "quotationId": {
+ "type": "integer"
+ },
"remark": {
"type": "string"
},
@@ -14496,6 +14594,12 @@
"signTime": {
"type": "string"
},
+ "source": {
+ "type": "string"
+ },
+ "status": {
+ "$ref": "#/definitions/constvar.SalesDetailsStatus"
+ },
"wechatOrderStatusId": {
"type": "integer"
}
@@ -14506,9 +14610,6 @@
"properties": {
"city_id": {
"type": "integer"
- },
- "codeRule": {
- "$ref": "#/definitions/code.CodeStandard"
},
"codeStandID": {
"description": "缂栫爜id",
@@ -14633,9 +14734,6 @@
"clientId": {
"type": "integer"
},
- "codeRule": {
- "$ref": "#/definitions/code.CodeStandard"
- },
"codeStandID": {
"description": "缂栫爜id",
"type": "string"
@@ -14744,9 +14842,6 @@
"description": "瀹㈡埛绫诲瀷ID",
"type": "integer"
},
- "codeRule": {
- "$ref": "#/definitions/code.CodeStandard"
- },
"codeStandID": {
"description": "缂栫爜id",
"type": "string"
@@ -14841,9 +14936,6 @@
"clientId": {
"type": "integer"
},
- "codeRule": {
- "$ref": "#/definitions/code.CodeStandard"
- },
"codeStandID": {
"description": "缂栫爜id",
"type": "string"
@@ -14908,9 +15000,6 @@
"clientId": {
"description": "瀹㈡埛id",
"type": "integer"
- },
- "codeRule": {
- "$ref": "#/definitions/code.CodeStandard"
},
"codeStandID": {
"description": "缂栫爜id",
@@ -14984,7 +15073,7 @@
"description": "鏈嶅姟鏂瑰紡id",
"type": "integer"
},
- "severity": {
+ "severityId": {
"description": "涓ラ噸绋嬪害id",
"type": "integer"
},
@@ -15066,9 +15155,6 @@
"properties": {
"clientId": {
"type": "integer"
- },
- "codeRule": {
- "$ref": "#/definitions/code.CodeStandard"
},
"codeStandID": {
"description": "缂栫爜id",
@@ -15182,48 +15268,6 @@
}
}
},
- "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"
- }
- }
- },
"request.CheckClientName": {
"type": "object",
"properties": {
@@ -15261,13 +15305,6 @@
"client_id": {
"description": "鎵�灞炲叕鍙窱D",
"type": "integer"
- },
- "codeRule": {
- "$ref": "#/definitions/code.CodeStandard"
- },
- "codeStandID": {
- "description": "缂栫爜id",
- "type": "string"
},
"country_id": {
"description": "鍥藉ID",
@@ -15460,15 +15497,6 @@
}
}
},
- "request.DeleteUserReq": {
- "type": "object",
- "properties": {
- "userId": {
- "description": "鐢ㄦ埛ID",
- "type": "string"
- }
- }
- },
"request.DownloadFile": {
"type": "object",
"required": [
@@ -15504,9 +15532,6 @@
},
"client_status_id": {
"type": "integer"
- },
- "codeRule": {
- "$ref": "#/definitions/code.CodeStandard"
},
"codeStandID": {
"type": "string"
@@ -15570,6 +15595,10 @@
"request.GetContactList": {
"type": "object",
"properties": {
+ "clientId": {
+ "description": "瀹㈡埛id",
+ "type": "integer"
+ },
"page": {
"description": "椤电爜",
"type": "integer"
@@ -15588,6 +15617,9 @@
"request.GetContractList": {
"type": "object",
"properties": {
+ "keyword": {
+ "type": "string"
+ },
"page": {
"description": "椤电爜",
"type": "integer"
@@ -15640,6 +15672,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"
+ }
+ ]
}
}
},
@@ -15732,11 +15794,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": "椤电爜",
@@ -15744,6 +15814,10 @@
},
"pageSize": {
"description": "姣忛〉澶у皬",
+ "type": "integer"
+ },
+ "saleChanceId": {
+ "description": "閿�鍞満浼歩d",
"type": "integer"
}
}
@@ -15782,12 +15856,19 @@
"pageSize": {
"description": "姣忛〉澶у皬",
"type": "integer"
+ },
+ "sourceId": {
+ "type": "integer"
}
}
},
"request.GetSalesReturnList": {
"type": "object",
"properties": {
+ "clientId": {
+ "description": "瀹㈡埛id",
+ "type": "integer"
+ },
"keyword": {
"type": "string"
},
@@ -15801,12 +15882,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"
},
@@ -15823,6 +15935,18 @@
},
"queryClass": {
"$ref": "#/definitions/constvar.ServiceContractQueryClass"
+ },
+ "quotationId": {
+ "description": "鎶ヤ环鍗昳d",
+ "type": "integer"
+ },
+ "saleChanceId": {
+ "description": "閿�鍞満浼歩d",
+ "type": "integer"
+ },
+ "salesDetailsId": {
+ "description": "鍚堝悓璁㈠崟id",
+ "type": "integer"
}
}
},
@@ -15917,44 +16041,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": {
@@ -16021,66 +16107,23 @@
}
}
},
- "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"
- },
- "codeRule": {
- "$ref": "#/definitions/code.CodeStandard"
},
"codeStandID": {
"description": "缂栫爜id",
@@ -16088,6 +16131,10 @@
},
"conditions": {
"type": "string"
+ },
+ "deliverType": {
+ "description": "浜や粯绫诲瀷:1.涓�娆″彂璐�,2.澶氭鍙戣揣",
+ "type": "integer"
},
"deliveryDate": {
"type": "string"
@@ -16116,6 +16163,12 @@
"$ref": "#/definitions/model.Product"
}
},
+ "projectId": {
+ "type": "string"
+ },
+ "quotationId": {
+ "type": "integer"
+ },
"remark": {
"type": "string"
},
@@ -16127,6 +16180,12 @@
},
"signTime": {
"type": "string"
+ },
+ "source": {
+ "type": "string"
+ },
+ "status": {
+ "$ref": "#/definitions/constvar.SalesDetailsStatus"
},
"wechatOrderStatusId": {
"type": "integer"
@@ -16146,9 +16205,6 @@
},
"clientId": {
"type": "integer"
- },
- "codeRule": {
- "$ref": "#/definitions/code.CodeStandard"
},
"codeStandID": {
"description": "缂栫爜id",
@@ -16198,9 +16254,6 @@
"properties": {
"clientId": {
"type": "integer"
- },
- "codeRule": {
- "$ref": "#/definitions/code.CodeStandard"
},
"codeStandID": {
"description": "缂栫爜id",
@@ -16400,9 +16453,6 @@
"client_type_id": {
"description": "瀹㈡埛绫诲瀷ID",
"type": "integer"
- },
- "codeRule": {
- "$ref": "#/definitions/code.CodeStandard"
},
"codeStandID": {
"description": "缂栫爜id",
@@ -16634,13 +16684,6 @@
"description": "鎵�灞炲叕鍙窱D",
"type": "integer"
},
- "codeRule": {
- "$ref": "#/definitions/code.CodeStandard"
- },
- "codeStandID": {
- "description": "缂栫爜id",
- "type": "string"
- },
"country_id": {
"description": "鍥藉ID",
"type": "integer"
@@ -16700,11 +16743,12 @@
"client_id": {
"type": "integer"
},
- "codeRule": {
- "$ref": "#/definitions/code.CodeStandard"
- },
"codeStandID": {
"description": "缂栫爜id",
+ "type": "string"
+ },
+ "contractName": {
+ "description": "鍚堝悓鍚嶇О",
"type": "string"
},
"file": {
@@ -16721,6 +16765,10 @@
},
"quotation_id": {
"type": "integer"
+ },
+ "sendTime": {
+ "description": "鍙戣揣鏃堕棿",
+ "type": "string"
},
"status_id": {
"type": "integer"
@@ -16959,6 +17007,9 @@
"description": "瀹㈡埛id",
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"courierCompanyId": {
"description": "鐗╂祦鍏徃",
"type": "integer"
@@ -16985,6 +17036,10 @@
"invoiceTypeId": {
"description": "鍙戠エ绫诲瀷id",
"type": "integer"
+ },
+ "number": {
+ "description": "鍙戠エ缂栧彿",
+ "type": "string"
},
"principalId": {
"description": "閿�鍞礋璐d汉id",
@@ -17100,9 +17155,6 @@
"properties": {
"client_id": {
"type": "integer"
- },
- "codeRule": {
- "$ref": "#/definitions/code.CodeStandard"
},
"codeStandID": {
"description": "缂栫爜id",
@@ -17285,9 +17337,6 @@
"client_id": {
"type": "integer"
},
- "codeRule": {
- "$ref": "#/definitions/code.CodeStandard"
- },
"codeStandID": {
"description": "缂栫爜id",
"type": "string"
@@ -17315,6 +17364,10 @@
"items": {
"$ref": "#/definitions/model.Product"
}
+ },
+ "quotationName": {
+ "description": "鎶ヤ环鍗曞悕绉�",
+ "type": "string"
},
"quotation_status_id": {
"type": "integer"
@@ -17472,6 +17525,17 @@
"items": {
"$ref": "#/definitions/request.UpdateRefundMethod"
}
+ }
+ }
+ },
+ "request.UpdateRefundType": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
}
}
},
@@ -17634,9 +17698,6 @@
"client_id": {
"type": "integer"
},
- "codeRule": {
- "$ref": "#/definitions/code.CodeStandard"
- },
"codeStandID": {
"description": "缂栫爜id",
"type": "string"
@@ -17691,6 +17752,12 @@
},
"process": {
"type": "string"
+ },
+ "products": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Product"
+ }
},
"projected_amount": {
"type": "number"
@@ -17799,14 +17866,22 @@
}
}
},
+ "request.UpdateSalesDetailsStatus": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "status": {
+ "$ref": "#/definitions/constvar.SalesDetailsStatus"
+ }
+ }
+ },
"request.UpdateSalesLeads": {
"type": "object",
"properties": {
"city_id": {
"type": "integer"
- },
- "codeRule": {
- "$ref": "#/definitions/code.CodeStandard"
},
"codeStandID": {
"description": "缂栫爜id",
@@ -18061,9 +18136,6 @@
"clientId": {
"type": "integer"
},
- "codeRule": {
- "$ref": "#/definitions/code.CodeStandard"
- },
"codeStandID": {
"description": "缂栫爜id",
"type": "string"
@@ -18193,9 +18265,6 @@
"description": "瀹㈡埛绫诲瀷ID",
"type": "integer"
},
- "codeRule": {
- "$ref": "#/definitions/code.CodeStandard"
- },
"codeStandID": {
"description": "缂栫爜id",
"type": "string"
@@ -18291,9 +18360,6 @@
"clientId": {
"type": "integer"
},
- "codeRule": {
- "$ref": "#/definitions/code.CodeStandard"
- },
"codeStandID": {
"description": "缂栫爜id",
"type": "string"
@@ -18361,9 +18427,6 @@
"clientId": {
"description": "瀹㈡埛id",
"type": "integer"
- },
- "codeRule": {
- "$ref": "#/definitions/code.CodeStandard"
},
"codeStandID": {
"description": "缂栫爜id",
@@ -18440,7 +18503,7 @@
"description": "鏈嶅姟鏂瑰紡id",
"type": "integer"
},
- "severity": {
+ "severityId": {
"description": "涓ラ噸绋嬪害id",
"type": "integer"
},
@@ -18558,9 +18621,6 @@
"properties": {
"clientId": {
"type": "integer"
- },
- "codeRule": {
- "$ref": "#/definitions/code.CodeStandard"
},
"codeStandID": {
"description": "缂栫爜id",
@@ -19202,21 +19262,6 @@
}
}
},
- "response.PageResult": {
- "type": "object",
- "properties": {
- "list": {},
- "page": {
- "type": "integer"
- },
- "pageSize": {
- "type": "integer"
- },
- "total": {
- "type": "integer"
- }
- }
- },
"response.PlanResponse": {
"type": "object",
"properties": {
@@ -19330,6 +19375,18 @@
"items": {
"$ref": "#/definitions/model.Repository"
}
+ }
+ }
+ },
+ "response.Response": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "integer"
+ },
+ "data": {},
+ "msg": {
+ "type": "string"
}
}
},
@@ -19544,14 +19601,6 @@
"items": {
"$ref": "#/definitions/model.TimelyRate"
}
- }
- }
- },
- "response.UserResponse": {
- "type": "object",
- "properties": {
- "user": {
- "$ref": "#/definitions/model.User"
}
}
}
--
Gitblit v1.8.0