using Yw.CAL.HttpClient; namespace HStation.CAL.HttpClient { /// /// /// public class XhsProjectStd : BaseCAL, IXhsProjectStd { protected override string Prefix { get { return $"{HStation.BLL.Xhs.ConfigHelper.HttpUrl}/Xhs/Project/Std"; } } /// /// /// public async Task> GetAll() { return await GetUrl("GetAll@V1.0").Get>(); } /// /// /// public async Task GetByID(long ID) { var paras = new List<(string Name, object Value)>() { (nameof(ID),ID) }; return await GetUrl("GetByID@V1.0").Get(paras); } } }