feat: updates

This commit is contained in:
qier222 2022-07-11 11:06:41 +08:00
parent 0b4baa3eff
commit 222fb02355
No known key found for this signature in database
GPG key ID: 9C85007ED905F14D
77 changed files with 654 additions and 551 deletions

View file

@ -107,3 +107,17 @@ export interface FetchUserArtistsResponse {
count: number
data: Artist[]
}
// 听歌排名
export interface FetchListenedRecordsParams {
uid: number // 用户id
type: number // type=1 时只返回 weekData, type=0 时返回 allData
}
export interface FetchListenedRecordsResponse {
code: number
weekData: {
playCount: number
score: number
song: Track
}[]
}