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

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
+27
View File
@@ -0,0 +1,27 @@
// 获取云盘音乐url
const { signCloudKey } = require('../util');
module.exports = (params, useAxios) => {
const hash = String(params.hash).toLocaleLowerCase();
const paramsMap = {
hash: hash,
ssa_flag: 'is_fromtrack',
version: '20102',
ssl: 0,
album_audio_id: params.album_audio_id ?? 0,
pid: 20026,
audio_id: params.audio_id ?? 0,
kv_id: 2,
key: signCloudKey(hash, 20026),
bucket: 'musicclound',
name: params.name ?? '',
with_res_tag: 0,
};
return useAxios({
url: '/bsstrackercdngz/v2/query_musicclound_url',
encryptType: 'android',
method: 'get',
params: paramsMap,
cookie: params?.cookie,
});
};