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

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 @@
const { cryptoAesEncrypt, cryptoRSAEncrypt } = require('../util');
module.exports = (params, useAxios) => {
const clienttime_ms = parseInt(new Date().getTime());
const encrypt = cryptoAesEncrypt({ token: params.token || params.cookie?.token });
const dataMap = {
plat: 1,
userid: params.userid || params.cookie?.userid || 0,
clienttime_ms,
pk: cryptoRSAEncrypt({ clienttime_ms, key: encrypt.key }).toUpperCase(),
params: encrypt.str,
};
return useAxios({
baseURL: 'https://userinfoservice.kugou.com',
url: '/v2/get_dev',
encryptType: 'android',
method: 'POST',
data: dataMap,
cookie: params?.cookie || {},
});
};