1
This commit is contained in:
@@ -18,8 +18,8 @@ namespace Assets.MyGame.Scripts.Net
|
||||
public static Dictionary<APIType, string> dic_API = new Dictionary<APIType, string>();
|
||||
//public const string baseURL = "http://game5241.wzaxr.top";
|
||||
#if UNITY_EDITOR
|
||||
//public const string baseURL = "http://8.137.163.153";
|
||||
public const string baseURL = "http://8.137.8.46";
|
||||
public const string baseURL = "http://8.137.163.153";
|
||||
//public const string baseURL = "http://8.137.8.46";
|
||||
|
||||
#else
|
||||
public const string baseURL = "http://8.137.8.46";
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ namespace Assets.MyGame.Scripts.Net.APIRequest.Params
|
||||
/// 通用分页查询参数(排行榜/用户列表共用)
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class BaseListPageParam : RequestParamBase
|
||||
public class BaseListPageObj : RequestObjBase
|
||||
{
|
||||
public string keyWord;
|
||||
public int pageIndex;
|
||||
@@ -102,7 +102,7 @@ namespace Assets.MyGame.Scripts.Net
|
||||
/// <summary>
|
||||
/// 获取排行榜(用户列表分页)(POST)
|
||||
/// </summary>
|
||||
public static void GetRankList(BaseListPageParam req, Action<List<UserListItemDto>> callback)
|
||||
public static void GetRankList(BaseListPageObj req, Action<List<UserListItemDto>> callback)
|
||||
{
|
||||
APIManager.Response<List<UserListItemDto>>(APIType.Rank_GetUserList, req, callback);
|
||||
}
|
||||
|
||||
@@ -25,8 +25,8 @@ namespace Assets.MyGame.Scripts.Net
|
||||
|
||||
//private const string baseUrl = "ws://game5241.wzaxr.top";
|
||||
#if UNITY_EDITOR
|
||||
//private const string baseUrl = "ws://8.137.163.153";
|
||||
private const string baseUrl = "ws://8.137.8.46";
|
||||
private const string baseUrl = "ws://8.137.163.153";
|
||||
//private const string baseUrl = "ws://8.137.8.46";
|
||||
|
||||
#else
|
||||
private const string baseUrl = "ws://8.137.8.46";
|
||||
|
||||
Reference in New Issue
Block a user