forked from powerfun/udpservice
细节调整
This commit is contained in:
1 parent
917e5d9800
commit
3e28d52154
4 files changed
+17
-12
No files matched your search
@@ -16,6 +16,7 @@ namespace OnlineUserPool.Unility
|
||||
static BaseApi()
|
||||
{
|
||||
httpClient = new System.Net.Http.HttpClient();
|
||||
httpClient.DefaultRequestHeaders.UserAgent.Add(new System.Net.Http.Headers.ProductInfoHeaderValue("OnlineUserPool", "1.0.0"));
|
||||
}
|
||||
|
||||
protected static async Task<T> PostAsync<T>(string url, object data)
|
||||
@@ -47,7 +48,7 @@ namespace OnlineUserPool.Unility
|
||||
/// 从服务端获取记录信息
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static List<MapRecordRanking> GetRecordFileFromServer(List<string> id)
|
||||
public static List<MapRecordRanking> GetRecordFileFromServer(List<long> id)
|
||||
{
|
||||
if (!id.Any())
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user