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 | 238 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 235 insertions(+), 3 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index bf61850..caf496f 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -4917,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": [ @@ -5510,6 +5553,15 @@ "type": "integer", "description": "姣忛〉澶у皬", "name": "pageSize", + "in": "query" + }, + { + "type": "array", + "items": { + "type": "integer" + }, + "collectionFormat": "csv", + "name": "principleIds", "in": "query" }, { @@ -6919,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": [ @@ -6972,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" } } } @@ -7036,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" } } ], @@ -10361,6 +10501,27 @@ "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": { "type": "string", "enum": [ @@ -11150,6 +11311,9 @@ "quotationId": { "type": "integer" }, + "sendTime": { + "type": "string" + }, "serviceContractStatus": { "$ref": "#/definitions/model.ServiceContractStatus" }, @@ -11677,6 +11841,9 @@ }, "total": { "type": "number" + }, + "unit": { + "type": "string" } } }, @@ -12231,6 +12398,12 @@ }, "signTime": { "type": "string" + }, + "source": { + "type": "string" + }, + "status": { + "$ref": "#/definitions/constvar.SalesDetailsStatus" }, "updateTime": { "type": "string" @@ -13203,6 +13376,10 @@ "realName": { "type": "string" }, + "subUserIds": { + "description": "涓嬪睘鍛樺伐鐢ㄦ埛id,鐢ㄩ�楀彿鍒嗗紑", + "type": "string" + }, "userType": { "$ref": "#/definitions/constvar.UserType" }, @@ -13275,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" } } @@ -13578,7 +13781,7 @@ "type": "integer" }, "sendTime": { - "description": "鍙戣揣鏃堕棿s", + "description": "鍙戣揣鏃堕棿", "type": "string" }, "status_id": { @@ -14371,6 +14574,12 @@ }, "signTime": { "type": "string" + }, + "source": { + "type": "string" + }, + "status": { + "$ref": "#/definitions/constvar.SalesDetailsStatus" }, "wechatOrderStatusId": { "type": "integer" @@ -15455,6 +15664,12 @@ "description": "姣忛〉澶у皬", "type": "integer" }, + "principalIds": { + "type": "array", + "items": { + "type": "integer" + } + }, "sourceId": { "type": "integer" }, @@ -15568,7 +15783,7 @@ "$ref": "#/definitions/constvar.SalesDetailsKeywordType" }, "number": { - "description": "閿�鍞瓙鍗曞彿", + "description": "閿�鍞槑缁嗗崟鍙�", "type": "string" }, "page": { @@ -15934,6 +16149,12 @@ }, "signTime": { "type": "string" + }, + "source": { + "type": "string" + }, + "status": { + "$ref": "#/definitions/constvar.SalesDetailsStatus" }, "wechatOrderStatusId": { "type": "integer" @@ -16515,7 +16736,7 @@ "type": "integer" }, "sendTime": { - "description": "鍙戣揣鏃堕棿s", + "description": "鍙戣揣鏃堕棿", "type": "string" }, "status_id": { @@ -17614,6 +17835,17 @@ } } }, + "request.UpdateSalesDetailsStatus": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "status": { + "$ref": "#/definitions/constvar.SalesDetailsStatus" + } + } + }, "request.UpdateSalesLeads": { "type": "object", "properties": { -- Gitblit v1.8.0