feat(douyu): 兑换图片默认隐藏 + 供应商直充默认上限800

- 兑换图片仅显示本页面本次发起过兑换的账号,历史截图默认不展示
- douyu_config 增加 gold_api_max_amount,默认800
- 配置弹窗可修改,输入框按上限 clamp,执行器下单前再校验
- 新增迁移0130,补充配置/超限测试
This commit is contained in:
yml
2026-11-24 20:00:31 +08:00
parent 77a881bdf8
commit 7a5d3ae9c8
12 changed files with 158 additions and 4 deletions
+4
View File
@@ -644,6 +644,10 @@ class DouyuConfig(Base):
recharge_duplicate_confirm_minutes: Mapped[int] = mapped_column(
Integer, nullable=False, default=10, server_default="10"
)
# 供应商 API 直充的单笔上限(鱼翅)。默认 800,防止误填过大金额。
gold_api_max_amount: Mapped[int] = mapped_column(
Integer, nullable=False, default=800, server_default="800"
)
gift_id: Mapped[str] = mapped_column(String(64), default="23643")
skin_id: Mapped[str] = mapped_column(String(64), default="2942")
updated_at: Mapped[datetime] = mapped_column(