cun
This commit is contained in:
@@ -81,6 +81,19 @@ namespace Assets.MyGame.Scripts.Net
|
||||
userid=userID
|
||||
}, callback);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 更新头像(GET)
|
||||
/// 参数:avatarUrl(头像地址或ID)
|
||||
/// </summary>
|
||||
public static void UpdateAvatar(string avatarUrl, Action<string> callback = null)
|
||||
{
|
||||
APIManager.Response<string>(APIType.User_UpdateAvatar, new UpdateAvatarParam
|
||||
{
|
||||
avatarUrl = avatarUrl
|
||||
}, callback);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Notice_公告
|
||||
|
||||
Reference in New Issue
Block a user