feat: add stitle and stype, optimize prefer choose

This commit is contained in:
shinya
2025-07-11 01:51:53 +08:00
parent e18dc3787f
commit 367ad8aa48
7 changed files with 140 additions and 46 deletions

View File

@@ -10,6 +10,7 @@ export interface PlayRecord {
play_time: number; // 播放进度(秒)
total_time: number; // 总进度(秒)
save_time: number; // 记录保存时间(时间戳)
search_title?: string; // 搜索时使用的标题
}
// 收藏数据结构
@@ -19,6 +20,7 @@ export interface Favorite {
title: string;
cover: string;
save_time: number; // 记录保存时间(时间戳)
search_title?: string; // 搜索时使用的标题
}
// 存储接口