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 |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 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 f294313..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
@@ -1,8 +1,4 @@
-锘縰sing Flurl.Http;
-using HStation.Dto;
-using Yw;
-using Yw.CAL.HttpClient;
-using Yw.Untity;
+锘縰sing Yw.CAL.HttpClient;
 
 namespace HStation.CAL.HttpClient
 {
@@ -13,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