mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-05-17 10:27:30 +08:00
添加专辑推荐 播放进度条优化
This commit is contained in:
@@ -3,6 +3,7 @@ import { IHotSinger } from "@/type/singer";
|
||||
import { ISearchKeyword } from "@/type/search";
|
||||
import { IPlayListSort } from "@/type/playlist";
|
||||
import { IRecommendMusic } from "@/type/music";
|
||||
import { IAlbumNew } from "@/type/album";
|
||||
|
||||
interface IHotSingerParams {
|
||||
offset: number;
|
||||
@@ -32,3 +33,8 @@ export const getPlaylistCategory = () => {
|
||||
export const getRecommendMusic = (params: IRecommendMusicParams) => {
|
||||
return request.get<IRecommendMusic>("/personalized/newsong", { params });
|
||||
};
|
||||
|
||||
// 获取最新专辑推荐
|
||||
export const getNewAlbum = () => {
|
||||
return request.get<IAlbumNew>("/album/newest");
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user