File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed
Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -72,4 +72,12 @@ export abstract class UserSource {
7272 }
7373
7474 public abstract getNameplate ( userId : number | string ) : Promise < Nameplate > ;
75+
76+ public async getChuniUserMusic ( userId : number | string , musicIdList : number [ ] ) {
77+ throw new Error ( '不支持的账号类型' ) ;
78+ }
79+
80+ public async getChuniUserRating ( userId : number | string , musicIdList : number [ ] ) {
81+ throw new Error ( '不支持的账号类型' ) ;
82+ }
7583}
Original file line number Diff line number Diff line change 15961596 9213 ,
15971597 9214 ,
15981598 9215 ,
1599- 9216
1599+ 9216 ,
1600+ 1791
16001601]
Original file line number Diff line number Diff line change @@ -70,15 +70,11 @@ export default class Song implements DataSong {
7070 public get coverUrl ( ) {
7171 if ( JACKET_EXIST_IDS . includes ( this . id ) )
7272 return getAssetUrl ( ASSET_TYPE . JacketPng , this . id ) ;
73- if ( this . imageName )
74- return 'https://shama.dxrating.net/images/cover/v2/' + this . imageName ;
7573 }
7674
7775 public get coverAvif ( ) {
7876 if ( JACKET_EXIST_IDS . includes ( this . id ) )
7977 return getAssetUrl ( ASSET_TYPE . Jacket , this . id ) ;
80- if ( this . imageName )
81- return 'https://shama.dxrating.net/images/cover/v2/' + this . imageName ;
8278 }
8379
8480 public get basicInfo ( ) {
You can’t perform that action at this time.
0 commit comments