This commit is contained in:
2026-07-07 02:22:31 +08:00
parent ff49b4207a
commit b25995eeff
100 changed files with 16546 additions and 66 deletions
@@ -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