mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-07 02:46:55 +08:00
feat: 更新API模型和组件以支持售罄自动下架功能
- 在api-models.ts中为设置添加shouldDiscontinueWhenSoldOut字段 - 在PointSettings.vue中新增售罄自动下架的选项 - 在多个组件中调整按钮文本和状态逻辑 - 在PointUserHistoryView.vue中添加主播筛选功能
This commit is contained in:
@@ -228,6 +228,7 @@ export interface Setting_Point {
|
||||
scPointPercent: number // double maps to number in TypeScript
|
||||
giftPointPercent: number // double maps to number in TypeScript
|
||||
giftAllowType: SettingPointGiftAllowType
|
||||
shouldDiscontinueWhenSoldOut: boolean
|
||||
|
||||
// 签到系统设置
|
||||
enableCheckIn: boolean // 是否启用签到功能
|
||||
|
||||
Reference in New Issue
Block a user