From 3e9117db5dd58096561eef48a4d75de3904cca34 Mon Sep 17 00:00:00 2001 From: dev02 Date: Fri, 5 May 2023 15:08:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9api=E9=8C=AF=E8=AA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FrontendWebApi/ApiControllers/BuildController.cs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/FrontendWebApi/ApiControllers/BuildController.cs b/FrontendWebApi/ApiControllers/BuildController.cs index b0e97a7..5bcd5ad 100644 --- a/FrontendWebApi/ApiControllers/BuildController.cs +++ b/FrontendWebApi/ApiControllers/BuildController.cs @@ -414,6 +414,9 @@ namespace FrontendWebApi.ApiControllers [Route("api/GetDevice")] public async Task>>> GetDevice(GetSubPost post) { + post.building_tag = "D2"; + post.main_system_tag = "EE"; + post.sub_system_tag = "E4"; ApiResult> apiResult = new ApiResult>(); if (!jwtlife) { @@ -518,10 +521,10 @@ namespace FrontendWebApi.ApiControllers END AS device_master_number, dm.device_master_full_name, dm.device_master_icon, - bm.icon_click, - bm.icon_click_url, - bm.icon_click_url_width, - bm.icon_click_url_height, + bm.left_icon_click, + bm.left_icon_click_url, + bm.left_icon_click_url_width, + bm.left_icon_click_url_height, di.full_name as point_name, di.points, di.is_bool as points_is_bool