feat: 更新API模型和组件以支持签到排行开关功能

- 在api-models.ts中将SongRequest更改为LiveRequest,并添加CheckInRanking
- 更新CheckInSettings.vue以支持签到排行的开关
- 在多个视图中调整签到排行的显示逻辑
- 移除不再使用的allowCheckInRanking字段
This commit is contained in:
2025-05-06 02:19:23 +08:00
parent ec619b404d
commit 8f734af8b3
9 changed files with 33 additions and 28 deletions

View File

@@ -239,7 +239,6 @@ export interface Setting_Point {
maxBonusPoints: number // 最大奖励积分
allowSelfCheckIn: boolean // 是否允许自己签到
requireAuth: boolean // 是否需要认证
allowCheckInRanking: boolean // 是否允许查询签到排行
}
export interface Setting_QuestionDisplay {
font?: string // Optional string, with a maximum length of 30 characters
@@ -293,10 +292,11 @@ export enum FunctionTypes {
SongList,
QuestionBox,
Schedule,
SongRequest,
LiveRequest,
Queue,
Point,
VideoCollect
VideoCollect,
CheckInRanking,
}
export interface SongAuthorInfo {
name: string