feat: 增加邀请码每周使用上限并调整翻牌规则(扩展免费次数、移除赠送翻牌与翻倍提示)

This commit is contained in:
chenchun
2025-10-30 19:51:56 +08:00
parent efd917d184
commit f02fb91175
5 changed files with 23 additions and 35 deletions

View File

@@ -46,17 +46,17 @@ public class CardFlipTaskAggregateRoot : FullAuditedAggregateRoot<Guid>
public int TotalFlips { get; set; }
/// <summary>
/// 已使用的免费次数(最多5次)
/// 已使用的免费次数(最多7次)
/// </summary>
public int FreeFlipsUsed { get; set; }
/// <summary>
/// 已使用的赠送次数(最多3次
/// 已使用的赠送次数(已废弃保持为0
/// </summary>
public int BonusFlipsUsed { get; set; }
/// <summary>
/// 已使用的邀请解锁次数(最多2次)
/// 已使用的邀请解锁次数(最多3次)
/// </summary>
public int InviteFlipsUsed { get; set; }
@@ -171,17 +171,17 @@ public class CardFlipTaskAggregateRoot : FullAuditedAggregateRoot<Guid>
public enum FlipType
{
/// <summary>
/// 免费翻牌1-5次)
/// 免费翻牌1-7次)
/// </summary>
Free = 0,
/// <summary>
/// 赠送翻牌(6-8次
/// 赠送翻牌(已废弃
/// </summary>
Bonus = 1,
/// <summary>
/// 邀请解锁翻牌(9-10次
/// 邀请解锁翻牌(8-10次
/// </summary>
Invite = 2
}