2026-04-10 18:30:56 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Assets.MyGame.Scripts.Net.APIRequest.Params
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 获取邮件详情(GET)
|
|
|
|
|
|
/// 参数:id(邮件ID)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class GetEmailParam : RequestParamBase
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>邮件 ID</summary>
|
|
|
|
|
|
public string id;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 领取邮箱奖励(GET)
|
|
|
|
|
|
/// type: 1=指定邮件 2=全部未领取的
|
|
|
|
|
|
/// id: type=1 时传邮件 ID,type=2 可不传
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class RewardEmailParam : RequestParamBase
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>1=指定邮件 2=全部未领取的</summary>
|
|
|
|
|
|
public int type;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>邮件 ID(type=1 时必填)</summary>
|
|
|
|
|
|
public string id;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 删除已读邮件(GET)
|
|
|
|
|
|
/// type: 1=指定邮件 2=全部已读已领取邮件
|
|
|
|
|
|
/// id: type=1 时传邮件 ID,type=2 可不传
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class DeleteEmailParam : RequestParamBase
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>1=指定邮件 2=全部已读已领取邮件</summary>
|
|
|
|
|
|
public int type;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>邮件 ID(type=1 时必填)</summary>
|
|
|
|
|
|
public string id;
|
|
|
|
|
|
}
|
2026-06-21 18:20:55 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 更新头像参数(GET)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class UpdateAvatarParam : RequestParamBase
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>头像地址或ID</summary>
|
|
|
|
|
|
public string avatarUrl;
|
|
|
|
|
|
}
|
2026-06-27 21:12:04 +08:00
|
|
|
|
|
2026-07-05 02:10:44 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 更新头像框参数(GET)
|
|
|
|
|
|
/// Swagger: /api/User/UpdateAvatarFrame?avatarFrame=xxx
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class UpdateAvatarFrameParam : RequestParamBase
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>头像框地址</summary>
|
|
|
|
|
|
public string avatarFrame;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-07-07 02:22:31 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 修改名称参数(GET)
|
|
|
|
|
|
/// Swagger: /api/User/UpdateUserName?userName=xxx
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class UpdateUserNameParam : RequestParamBase
|
|
|
|
|
|
{
|
|
|
|
|
|
public string userName;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 绑定手机号参数(GET)
|
|
|
|
|
|
/// Swagger: /api/User/BindMobile?mobile=xxx&code=xxx
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class BindMobileParam : RequestParamBase
|
|
|
|
|
|
{
|
|
|
|
|
|
public string mobile;
|
|
|
|
|
|
public string code;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-06-27 21:12:04 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 公告详情请求参数(GET /api/Notice/get?id=)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class NoticeIdParam : RequestParamBase
|
|
|
|
|
|
{
|
|
|
|
|
|
public string id;
|
|
|
|
|
|
}
|
2026-04-10 18:30:56 +08:00
|
|
|
|
}
|