From 89b928115c2309c6548b096b4d71c0dedbcaa2db Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期五, 17 一月 2025 16:02:55 +0800 Subject: [PATCH] 远程报错修改 --- BLL/HStation.BLL.Assets.Core/02-httpclient/18-Hydrant/AssetsHydrantMain.cs | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/BLL/HStation.BLL.Assets.Core/02-httpclient/18-Hydrant/AssetsHydrantMain.cs b/BLL/HStation.BLL.Assets.Core/02-httpclient/18-Hydrant/AssetsHydrantMain.cs index 7ae5b2f..9e891bf 100644 --- a/BLL/HStation.BLL.Assets.Core/02-httpclient/18-Hydrant/AssetsHydrantMain.cs +++ b/BLL/HStation.BLL.Assets.Core/02-httpclient/18-Hydrant/AssetsHydrantMain.cs @@ -9,12 +9,16 @@ { protected override string Prefix { - get { return $"{HStation.BLL.Assets.ConfigHelper.HttpUrl}/AssetsHydrantMain"; } + get { return $"{HStation.BLL.Assets.ConfigHelper.HttpUrl}/Assets/Hydrant/Main"; } } - public Task<List<AssetsHydrantMainDto>> GetBySeriesID(long ID) + public async Task<List<AssetsHydrantMainDto>> GetBySeriesID(long ID) { - throw new NotImplementedException(); + var paras = new List<(string Name, object Value)>() + { + ("SeriesID",ID) + }; + return await GetUrl("GetBySeriesID@V1.0").Get<List<AssetsHydrantMainDto>>(paras); } /// <summary> -- Gitblit v1.9.3