2026-02-03 11:35:19 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Assets.MyGame.Scripts.Net.APIRequest.Params
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 存入保险箱请求参数
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class SaveSafeBoxParam : RequestParamBase
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
public int amount; // 存入金额
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 设置保险箱密码请求参数
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class SetSafeBoxPasswordParam : RequestParamBase
|
|
|
|
|
|
{
|
|
|
|
|
|
public string newPwd; // 新密码
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 重置保险箱密码请求参数
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class ResetSafeBoxPasswordParam : RequestParamBase
|
|
|
|
|
|
{
|
|
|
|
|
|
public string code; // 验证码
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 合成碎片请求参数
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class SynthesisFragmentParam : RequestParamBase
|
|
|
|
|
|
{
|
|
|
|
|
|
public int fragmentId; // 碎片ID
|
|
|
|
|
|
public int count; // 数量
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2026-04-13 18:30:55 +08:00
|
|
|
|
/// 购买月卡请求参数(GET)
|
|
|
|
|
|
/// Swagger: GET /api/Hall/BuyMonthCard
|
2026-02-03 11:35:19 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class BuyMonthCardParam : RequestParamBase
|
|
|
|
|
|
{
|
2026-04-13 18:30:55 +08:00
|
|
|
|
/// <summary>月卡类型 1=周卡 2=月卡 3=年卡</summary>
|
|
|
|
|
|
public int type;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>金币价格(用于校验)</summary>
|
|
|
|
|
|
public int gold;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>现金价格</summary>
|
|
|
|
|
|
public double money;
|
2026-02-03 11:35:19 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2026-04-13 18:30:55 +08:00
|
|
|
|
/// 购买道具请求参数(GET)
|
|
|
|
|
|
/// Swagger: GET /api/Hall/BuyProp
|
2026-02-03 11:35:19 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class BuyPropParam : RequestParamBase
|
|
|
|
|
|
{
|
2026-04-13 18:30:55 +08:00
|
|
|
|
/// <summary>道具编号</summary>
|
|
|
|
|
|
public string propNumber;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>购买数量</summary>
|
|
|
|
|
|
public int count;
|
2026-02-03 11:35:19 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2026-04-13 18:30:55 +08:00
|
|
|
|
/// 购买金币请求参数(GET)
|
|
|
|
|
|
/// Swagger: GET /api/Hall/BuyGold
|
2026-02-03 11:35:19 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class BuyGoldParam : RequestParamBase
|
|
|
|
|
|
{
|
2026-04-13 18:30:55 +08:00
|
|
|
|
/// <summary>商品编号(GoldShopConfig.number)</summary>
|
|
|
|
|
|
public string number;
|
2026-02-03 11:35:19 +08:00
|
|
|
|
|
2026-04-13 18:30:55 +08:00
|
|
|
|
/// <summary>购买数量</summary>
|
|
|
|
|
|
public int count;
|
2026-02-03 11:35:19 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2026-04-13 18:30:55 +08:00
|
|
|
|
/// 购买钻石请求参数(GET)
|
|
|
|
|
|
/// Swagger: GET /api/Hall/BuyDiamond
|
2026-02-03 11:35:19 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class BuyDiamondParam : RequestParamBase
|
|
|
|
|
|
{
|
2026-04-13 18:30:55 +08:00
|
|
|
|
/// <summary>商品编号(DiamondShopConfig.number)</summary>
|
|
|
|
|
|
public string number;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>购买数量</summary>
|
|
|
|
|
|
public int count;
|
2026-02-03 11:35:19 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 切换炮台请求参数
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class ChangeCannonParam : RequestParamBase
|
|
|
|
|
|
{
|
|
|
|
|
|
public int cannonId; // 炮台ID
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 切换翅膀请求参数
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class ChangeWingParam : RequestParamBase
|
|
|
|
|
|
{
|
|
|
|
|
|
public int wingId; // 翅膀ID
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 切换战神请求参数
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class ChangeGodWarParam : RequestParamBase
|
|
|
|
|
|
{
|
|
|
|
|
|
public int godWarId; // 战神ID
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 发放奖励请求参数
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class DistributeRewardsParam : RequestParamBase
|
|
|
|
|
|
{
|
|
|
|
|
|
public int rewardId; // 奖励ID
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|