1
This commit is contained in:
@@ -107,6 +107,31 @@ namespace Assets.MyGame.Scripts.Net
|
||||
}, callback);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 修改名称(GET)
|
||||
/// Swagger: /api/User/UpdateUserName?userName=xxx
|
||||
/// </summary>
|
||||
public static void UpdateUserName(string userName, Action<string> callback = null)
|
||||
{
|
||||
APIManager.Response<string>(APIType.User_UpdateUserName, new UpdateUserNameParam
|
||||
{
|
||||
userName = userName
|
||||
}, callback);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 绑定/换绑手机号(GET)
|
||||
/// Swagger: /api/User/BindMobile?mobile=xxx&code=xxx
|
||||
/// </summary>
|
||||
public static void BindMobile(string mobile, string code, Action<string> callback = null)
|
||||
{
|
||||
APIManager.Response<string>(APIType.User_BindMobile, new BindMobileParam
|
||||
{
|
||||
mobile = mobile,
|
||||
code = code
|
||||
}, callback);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Rank
|
||||
|
||||
Reference in New Issue
Block a user