修复关系型数据库保存音乐记录错误,播放记录修改为队列式
This commit is contained in:
@@ -273,6 +273,8 @@ export class DbManager {
|
||||
// Music V2 历史记录相关
|
||||
async listMusicV2History(userName: string): Promise<MusicV2HistoryRecord[]> {
|
||||
if (typeof (this.storage as any).listMusicV2History === 'function') {
|
||||
// 按播放队列顺序返回(createdAt ASC),
|
||||
// 当前播放项由调用方基于 lastPlayedAt 决定。
|
||||
return (this.storage as any).listMusicV2History(userName);
|
||||
}
|
||||
return [];
|
||||
|
||||
Reference in New Issue
Block a user