feat: support more types of music cards

This commit is contained in:
Fripine
2024-09-21 12:17:05 +08:00
parent 5b86d25d7f
commit 9c353f3760
2 changed files with 19 additions and 22 deletions

View File

@@ -1,14 +1,15 @@
export interface IdMusicSignPostData {
type: 'qq' | '163',
type: 'qq' | '163' | 'kugou' | 'migu' | 'kuwo',
id: string | number,
}
export interface CustomMusicSignPostData {
type: 'custom',
type: 'qq' | '163' | 'kugou' | 'migu' | 'kuwo' | 'custom',
id:undefined,
url: string,
audio: string,
title: string,
image?: string,
audio?: string,
title?: string,
image: string,
singer?: string
}