每日自动提交 2026-04-13 18:30
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
using Assets.MyGame.Scripts.Net.APIRequest.Objs;
|
||||
using Assets.MyGame.Scripts.Net.API;
|
||||
using Assets.MyGame.Scripts.Net.APIRequest;
|
||||
using Assets.MyGame.Scripts.Net.APIRequest.Objs;
|
||||
using Assets.MyGame.Scripts.Net.APIRequest.Params;
|
||||
using Assets.MyGame.Scripts.Net.APIResponses.HomeMain_User;
|
||||
using Newtonsoft.Json.Linq;
|
||||
@@ -68,7 +70,17 @@ namespace Assets.MyGame.Scripts.Net
|
||||
{
|
||||
APIManager.Response<long>(APIType.User_GetNoReadCount, callback);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取未读邮件数量(GET,无参)
|
||||
/// 返回:long(未读数量)
|
||||
/// </summary>
|
||||
public static void GetUser(string userID,Action<UserData> callback)
|
||||
{
|
||||
APIManager.Response<UserData>(APIType.User_GetUser,new GetUserParam
|
||||
{
|
||||
userid=userID
|
||||
}, callback);
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user