修改api錯誤

This commit is contained in:
dev02 2023-05-05 15:08:30 +08:00
parent be20f97f3b
commit 3e9117db5d

View File

@ -414,6 +414,9 @@ namespace FrontendWebApi.ApiControllers
[Route("api/GetDevice")]
public async Task<ActionResult<ApiResult<List<DeviceList>>>> GetDevice(GetSubPost post)
{
post.building_tag = "D2";
post.main_system_tag = "EE";
post.sub_system_tag = "E4";
ApiResult<List<DeviceList>> apiResult = new ApiResult<List<DeviceList>>();
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