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

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
+23
View File
@@ -0,0 +1,23 @@
// 歌曲评论数
module.exports = (params, useAxios) => {
const paramsMap = {
r: 'comments/getcommentsnum',
code: 'fc4be23b4e972707f36b8a828a93ba8a',
};
if (params && params.hash) {
paramsMap.hash = params.hash;
} else if (params && params.special_id) {
paramsMap.childrenid = params.special_id;
}
return useAxios({
url: '/index.php',
encryptType: 'web',
method: 'GET',
params: paramsMap,
cookie: params?.cookie || {},
headers: { 'x-router': 'sum.comment.service.kugou.com' },
});
};