完成网络音乐、工具页面与安装器体验升级

This commit is contained in:
2026-08-18 13:54:33 +08:00
parent 337390f53e
commit 149c28082d
1082 changed files with 26442 additions and 162838 deletions
+22
View File
@@ -0,0 +1,22 @@
// 获取歌手mv
const tag_idx = { official: 18, live: 20, fan: 23, artist: 42419, all: '' };
module.exports = (params, useAxios) => {
const paramsMap = {
author_id: params.id,
is_fanmade: '',
tag_idx: tag_idx[params?.tag || 'all'] || '', // 18:官方版本,20:现场版本,23:饭制版本,42419:歌手发布
pagesize: params.pagesize || 30,
page: params.page || 1,
};
return useAxios({
baseURL: 'https://openapicdn.kugou.com',
url: '/kmr/v1/author/videos',
method: 'GET',
params: paramsMap,
encryptType: 'android',
cookie: params?.cookie || {},
});
};