From 115bd9b51f5d8eade4658f844de37516486c60e7 Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期六, 18 十一月 2023 17:25:25 +0800 Subject: [PATCH] crm获取aps项目模块信息 --- docs/docs.go | 1156 ++++++++++++++++++++++++++++----------------------------- 1 files changed, 566 insertions(+), 590 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index c8d39d3..caf496f 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,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" } } } @@ -4960,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": [ @@ -5556,6 +5556,15 @@ "in": "query" }, { + "type": "array", + "items": { + "type": "integer" + }, + "collectionFormat": "csv", + "name": "principleIds", + "in": "query" + }, + { "type": "integer", "name": "sourceId", "in": "query" @@ -5749,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" } } ], @@ -6826,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": [ @@ -6879,6 +7054,34 @@ "description": "OK", "schema": { "$ref": "#/definitions/contextx.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" } } } @@ -6943,6 +7146,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" } } ], @@ -9775,259 +10008,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": [ @@ -10519,6 +10499,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": { @@ -11281,6 +11282,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" @@ -11306,6 +11310,9 @@ }, "quotationId": { "type": "integer" + }, + "sendTime": { + "type": "string" }, "serviceContractStatus": { "$ref": "#/definitions/model.ServiceContractStatus" @@ -11508,6 +11515,9 @@ "description": "瀹㈡埛id", "type": "integer" }, + "codeStandID": { + "type": "string" + }, "courierCompany": { "$ref": "#/definitions/model.CourierCompany" }, @@ -11543,6 +11553,9 @@ "invoiceTypeId": { "description": "鍙戠エ绫诲瀷id", "type": "integer" + }, + "number": { + "type": "string" }, "principalId": { "description": "閿�鍞礋璐d汉id", @@ -11828,6 +11841,9 @@ }, "total": { "type": "number" + }, + "unit": { + "type": "string" } } }, @@ -11889,6 +11905,9 @@ "items": { "$ref": "#/definitions/model.Product" } + }, + "quotationName": { + "type": "string" }, "quotation_status": { "$ref": "#/definitions/model.QuotationStatus" @@ -12009,6 +12028,17 @@ } }, "model.RefundMethod": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "model.RefundType": { "type": "object", "properties": { "id": { @@ -12170,6 +12200,12 @@ "process": { "type": "string" }, + "products": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Product" + } + }, "projected_amount": { "type": "number" }, @@ -12214,6 +12250,14 @@ }, "solutions": { "type": "string" + }, + "status": { + "description": "鐘舵��", + "allOf": [ + { + "$ref": "#/definitions/model.Status" + } + ] }, "status_id": { "type": "integer" @@ -12301,6 +12345,9 @@ "creatorName": { "type": "string" }, + "deliverType": { + "type": "integer" + }, "deliveryDate": { "type": "string" }, @@ -12331,6 +12378,12 @@ "$ref": "#/definitions/model.Product" } }, + "quotation": { + "$ref": "#/definitions/model.Quotation" + }, + "quotationId": { + "type": "integer" + }, "remark": { "type": "string" }, @@ -12345,6 +12398,12 @@ }, "signTime": { "type": "string" + }, + "source": { + "type": "string" + }, + "status": { + "$ref": "#/definitions/constvar.SalesDetailsStatus" }, "updateTime": { "type": "string" @@ -12440,8 +12499,13 @@ "model.SalesRefund": { "type": "object", "properties": { - "Source": { - "$ref": "#/definitions/model.SalesReturn" + "RefundType": { + "description": "閫�娆炬柟寮�", + "allOf": [ + { + "$ref": "#/definitions/model.RefundType" + } + ] }, "amountTotal": { "description": "浠风◣鍚堣", @@ -12502,6 +12566,13 @@ }, "refundDate": { "type": "string" + }, + "refundTypeId": { + "description": "閫�娆炬柟寮廔D", + "type": "integer" + }, + "salesReturn": { + "$ref": "#/definitions/model.SalesReturn" }, "sourceId": { "description": "婧愬崟id", @@ -13121,6 +13192,10 @@ "severity": { "$ref": "#/definitions/model.Severity" }, + "severityId": { + "description": "涓ラ噸绋嬪害id", + "type": "integer" + }, "solution": { "description": "瑙e喅鏂规硶", "type": "string" @@ -13301,6 +13376,10 @@ "realName": { "type": "string" }, + "subUserIds": { + "description": "涓嬪睘鍛樺伐鐢ㄦ埛id,鐢ㄩ�楀彿鍒嗗紑", + "type": "string" + }, "userType": { "$ref": "#/definitions/constvar.UserType" }, @@ -13373,6 +13452,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" } } @@ -13450,9 +13555,6 @@ "client_type_id": { "description": "瀹㈡埛绫诲瀷ID", "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -13602,13 +13704,6 @@ "description": "鎵�灞炲叕鍙窱D", "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, - "codeStandID": { - "description": "缂栫爜id", - "type": "string" - }, "country_id": { "description": "鍥藉ID", "type": "integer" @@ -13665,11 +13760,12 @@ "client_id": { "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", + "type": "string" + }, + "contractName": { + "description": "鍚堝悓鍚嶇О", "type": "string" }, "file": { @@ -13683,6 +13779,10 @@ }, "quotation_id": { "type": "integer" + }, + "sendTime": { + "description": "鍙戣揣鏃堕棿", + "type": "string" }, "status_id": { "type": "integer" @@ -13824,6 +13924,9 @@ "description": "瀹㈡埛id", "type": "integer" }, + "codeStandID": { + "type": "string" + }, "courierCompanyId": { "description": "鐗╂祦鍏徃", "type": "integer" @@ -13847,6 +13950,10 @@ "invoiceTypeId": { "description": "鍙戠エ绫诲瀷id", "type": "integer" + }, + "number": { + "description": "鍙戠エ缂栧彿", + "type": "string" }, "principalId": { "description": "閿�鍞礋璐d汉id", @@ -13930,9 +14037,6 @@ "properties": { "client_id": { "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -14054,9 +14158,6 @@ "client_id": { "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -14081,6 +14182,10 @@ "items": { "$ref": "#/definitions/model.Product" } + }, + "quotationName": { + "description": "鎶ヤ环鍗曞悕绉�", + "type": "string" }, "quotation_status_id": { "type": "integer" @@ -14205,6 +14310,17 @@ } } }, + "request.AddRefundType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "request.AddRegion": { "type": "object", "properties": { @@ -14276,9 +14392,6 @@ "client_id": { "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -14330,6 +14443,12 @@ }, "process": { "type": "string" + }, + "products": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Product" + } }, "projected_amount": { "type": "number" @@ -14403,15 +14522,16 @@ "clientId": { "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" }, "conditions": { "type": "string" + }, + "deliverType": { + "description": "浜や粯绫诲瀷:1.涓�娆″彂璐�,2.澶氭鍙戣揣", + "type": "integer" }, "deliveryDate": { "type": "string" @@ -14440,6 +14560,9 @@ "$ref": "#/definitions/model.Product" } }, + "quotationId": { + "type": "integer" + }, "remark": { "type": "string" }, @@ -14452,6 +14575,12 @@ "signTime": { "type": "string" }, + "source": { + "type": "string" + }, + "status": { + "$ref": "#/definitions/constvar.SalesDetailsStatus" + }, "wechatOrderStatusId": { "type": "integer" } @@ -14462,9 +14591,6 @@ "properties": { "city_id": { "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -14589,9 +14715,6 @@ "clientId": { "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -14700,9 +14823,6 @@ "description": "瀹㈡埛绫诲瀷ID", "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -14797,9 +14917,6 @@ "clientId": { "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -14864,9 +14981,6 @@ "clientId": { "description": "瀹㈡埛id", "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -14940,7 +15054,7 @@ "description": "鏈嶅姟鏂瑰紡id", "type": "integer" }, - "severity": { + "severityId": { "description": "涓ラ噸绋嬪害id", "type": "integer" }, @@ -15022,9 +15136,6 @@ "properties": { "clientId": { "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -15138,48 +15249,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": { @@ -15217,13 +15286,6 @@ "client_id": { "description": "鎵�灞炲叕鍙窱D", "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, - "codeStandID": { - "description": "缂栫爜id", - "type": "string" }, "country_id": { "description": "鍥藉ID", @@ -15416,15 +15478,6 @@ } } }, - "request.DeleteUserReq": { - "type": "object", - "properties": { - "userId": { - "description": "鐢ㄦ埛ID", - "type": "string" - } - } - }, "request.DownloadFile": { "type": "object", "required": [ @@ -15460,9 +15513,6 @@ }, "client_status_id": { "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "type": "string" @@ -15526,6 +15576,10 @@ "request.GetContactList": { "type": "object", "properties": { + "clientId": { + "description": "瀹㈡埛id", + "type": "integer" + }, "page": { "description": "椤电爜", "type": "integer" @@ -15609,6 +15663,12 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "principalIds": { + "type": "array", + "items": { + "type": "integer" + } }, "sourceId": { "type": "integer" @@ -15712,11 +15772,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": "椤电爜", @@ -15775,6 +15843,10 @@ "request.GetSalesReturnList": { "type": "object", "properties": { + "clientId": { + "description": "瀹㈡埛id", + "type": "integer" + }, "keyword": { "type": "string" }, @@ -15947,44 +16019,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": { @@ -16051,52 +16085,6 @@ } } }, - "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": { @@ -16109,15 +16097,16 @@ "clientId": { "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" }, "conditions": { "type": "string" + }, + "deliverType": { + "description": "浜や粯绫诲瀷:1.涓�娆″彂璐�,2.澶氭鍙戣揣", + "type": "integer" }, "deliveryDate": { "type": "string" @@ -16146,6 +16135,9 @@ "$ref": "#/definitions/model.Product" } }, + "quotationId": { + "type": "integer" + }, "remark": { "type": "string" }, @@ -16157,6 +16149,12 @@ }, "signTime": { "type": "string" + }, + "source": { + "type": "string" + }, + "status": { + "$ref": "#/definitions/constvar.SalesDetailsStatus" }, "wechatOrderStatusId": { "type": "integer" @@ -16176,9 +16174,6 @@ }, "clientId": { "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -16228,9 +16223,6 @@ "properties": { "clientId": { "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -16430,9 +16422,6 @@ "client_type_id": { "description": "瀹㈡埛绫诲瀷ID", "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -16664,13 +16653,6 @@ "description": "鎵�灞炲叕鍙窱D", "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, - "codeStandID": { - "description": "缂栫爜id", - "type": "string" - }, "country_id": { "description": "鍥藉ID", "type": "integer" @@ -16730,11 +16712,12 @@ "client_id": { "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", + "type": "string" + }, + "contractName": { + "description": "鍚堝悓鍚嶇О", "type": "string" }, "file": { @@ -16751,6 +16734,10 @@ }, "quotation_id": { "type": "integer" + }, + "sendTime": { + "description": "鍙戣揣鏃堕棿", + "type": "string" }, "status_id": { "type": "integer" @@ -16989,6 +16976,9 @@ "description": "瀹㈡埛id", "type": "integer" }, + "codeStandID": { + "type": "string" + }, "courierCompanyId": { "description": "鐗╂祦鍏徃", "type": "integer" @@ -17015,6 +17005,10 @@ "invoiceTypeId": { "description": "鍙戠エ绫诲瀷id", "type": "integer" + }, + "number": { + "description": "鍙戠エ缂栧彿", + "type": "string" }, "principalId": { "description": "閿�鍞礋璐d汉id", @@ -17130,9 +17124,6 @@ "properties": { "client_id": { "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -17315,9 +17306,6 @@ "client_id": { "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -17345,6 +17333,10 @@ "items": { "$ref": "#/definitions/model.Product" } + }, + "quotationName": { + "description": "鎶ヤ环鍗曞悕绉�", + "type": "string" }, "quotation_status_id": { "type": "integer" @@ -17502,6 +17494,17 @@ "items": { "$ref": "#/definitions/request.UpdateRefundMethod" } + } + } + }, + "request.UpdateRefundType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" } } }, @@ -17664,9 +17667,6 @@ "client_id": { "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -17721,6 +17721,12 @@ }, "process": { "type": "string" + }, + "products": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Product" + } }, "projected_amount": { "type": "number" @@ -17829,14 +17835,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", @@ -18091,9 +18105,6 @@ "clientId": { "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -18223,9 +18234,6 @@ "description": "瀹㈡埛绫诲瀷ID", "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -18321,9 +18329,6 @@ "clientId": { "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -18391,9 +18396,6 @@ "clientId": { "description": "瀹㈡埛id", "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -18470,7 +18472,7 @@ "description": "鏈嶅姟鏂瑰紡id", "type": "integer" }, - "severity": { + "severityId": { "description": "涓ラ噸绋嬪害id", "type": "integer" }, @@ -18588,9 +18590,6 @@ "properties": { "clientId": { "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -19232,21 +19231,6 @@ } } }, - "response.PageResult": { - "type": "object", - "properties": { - "list": {}, - "page": { - "type": "integer" - }, - "pageSize": { - "type": "integer" - }, - "total": { - "type": "integer" - } - } - }, "response.PlanResponse": { "type": "object", "properties": { @@ -19574,14 +19558,6 @@ "items": { "$ref": "#/definitions/model.TimelyRate" } - } - } - }, - "response.UserResponse": { - "type": "object", - "properties": { - "user": { - "$ref": "#/definitions/model.User" } } } -- Gitblit v1.8.0