feat(publish): 推荐押金支持第二件折扣并放宽押金下限

- 推荐押金皮肤规则新增「第2件起计价」比例,组内首件按原价、后续件按比例计入
- 押金低于推荐押金允许发布,弹窗提示并禁用无忧租号保险
- 用户主动改低押金后不再被推荐值覆盖,点「使用推荐」恢复自动跟随
This commit is contained in:
yml
2026-11-25 21:22:04 +08:00
parent 8b6800699a
commit f697b10e2b
16 changed files with 532 additions and 41 deletions
@@ -141,10 +141,10 @@ func DefaultPublishOptions() PublishOptionsDTO {
DepositRecommend: PublishDepositRecommend{
BaseAmount: 200,
SkinGroupRules: []PublishDepositSkinGroupRule{
{GroupKey: "melee", Label: "刀皮", AmountPerItem: 150},
{GroupKey: "operatorGold", Label: "干员金皮", AmountPerItem: 0},
{GroupKey: "operatorRed", Label: "干员红皮", AmountPerItem: 150},
{GroupKey: "weapon", Label: "武器皮肤", AmountPerItem: 200},
{GroupKey: "melee", Label: "刀皮", AmountPerItem: 150, DiscountPercent: 0},
{GroupKey: "operatorGold", Label: "干员金皮", AmountPerItem: 0, DiscountPercent: 0},
{GroupKey: "operatorRed", Label: "干员红皮", AmountPerItem: 150, DiscountPercent: 0},
{GroupKey: "weapon", Label: "武器皮肤", AmountPerItem: 200, DiscountPercent: 0},
},
},
RatioConfig: PublishRatioConfig{