每日自动提交 2026-04-13 18:30
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Assets.MyGame.Scripts.Net.APIRequest.Params
|
||||
{
|
||||
[Serializable]
|
||||
public class GetUserParam:RequestParamBase
|
||||
{
|
||||
public string userid;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b51e71cd9738bbf40be414078e722e0d
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -42,42 +42,62 @@ namespace Assets.MyGame.Scripts.Net.APIRequest.Params
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 购买月卡请求参数
|
||||
/// 购买月卡请求参数(GET)
|
||||
/// Swagger: GET /api/Hall/BuyMonthCard
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class BuyMonthCardParam : RequestParamBase
|
||||
{
|
||||
public int cardType; // 月卡类型
|
||||
/// <summary>月卡类型 1=周卡 2=月卡 3=年卡</summary>
|
||||
public int type;
|
||||
|
||||
/// <summary>金币价格(用于校验)</summary>
|
||||
public int gold;
|
||||
|
||||
/// <summary>现金价格</summary>
|
||||
public double money;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 购买道具请求参数
|
||||
/// 购买道具请求参数(GET)
|
||||
/// Swagger: GET /api/Hall/BuyProp
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class BuyPropParam : RequestParamBase
|
||||
{
|
||||
public int propId; // 道具ID
|
||||
public int count; // 数量
|
||||
/// <summary>道具编号</summary>
|
||||
public string propNumber;
|
||||
|
||||
/// <summary>购买数量</summary>
|
||||
public int count;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 购买金币请求参数
|
||||
/// 购买金币请求参数(GET)
|
||||
/// Swagger: GET /api/Hall/BuyGold
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class BuyGoldParam : RequestParamBase
|
||||
{
|
||||
/// <summary>商品编号(GoldShopConfig.number)</summary>
|
||||
public string number;
|
||||
|
||||
public long goldAmount; // 金币数量
|
||||
/// <summary>购买数量</summary>
|
||||
public int count;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 购买钻石请求参数
|
||||
/// 购买钻石请求参数(GET)
|
||||
/// Swagger: GET /api/Hall/BuyDiamond
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class BuyDiamondParam : RequestParamBase
|
||||
{
|
||||
|
||||
public int diamondAmount; // 钻石数量
|
||||
/// <summary>商品编号(DiamondShopConfig.number)</summary>
|
||||
public string number;
|
||||
|
||||
/// <summary>购买数量</summary>
|
||||
public int count;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user