1
This commit is contained in:
@@ -82,7 +82,13 @@ namespace Assets.MyGame.Scripts.Net
|
||||
userid=userID
|
||||
}, callback);
|
||||
}
|
||||
|
||||
public static void GetUser(Action<UserData> callback)
|
||||
{
|
||||
APIManager.Response<UserData>(APIType.User_GetUser, new GetUserParam
|
||||
{
|
||||
userid = GameManager.Instance.user.id
|
||||
}, callback);
|
||||
}
|
||||
/// <summary>
|
||||
/// 更新头像(GET)
|
||||
/// 参数:avatarUrl(头像地址或ID)
|
||||
|
||||
Reference in New Issue
Block a user