[성현모] CPMeta 최근데이터 조회 기능 추가

This commit is contained in:
SHM
2026-02-13 08:50:33 +09:00
parent 3626030124
commit 3f94a7b2b2
10 changed files with 107 additions and 3 deletions

View File

@ -64,5 +64,19 @@ namespace Web.Operation.Services
return res;
}
public async Task<Response_GetWbmsMeta> GetWbmsLatest(string host, int count = 20, int shardID = 1)
{
string requestUrl = $"https://{host}/CPMeta/GetWbmsLatest?";
requestUrl += $"Count={count}&";
requestUrl += $"ShardID={shardID}";
Http http = new Http();
var res = await http.GetJsonAsync<Response_GetWbmsMeta>($"{requestUrl}");
LogXnet.WriteLine($"{res.ToJson()}", LogXLabel.HTTP);
return res;
}
}
}