完成网络音乐、工具页面与安装器体验升级
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
// 歌词搜索
|
||||
const { appid, clientver } = require('../util');
|
||||
|
||||
module.exports = (params, useAxios) => {
|
||||
const dataMap = {
|
||||
album_audio_id: params?.album_audio_id || 0,
|
||||
appid,
|
||||
clientver,
|
||||
duration: params.duration || 0,
|
||||
hash: params?.hash || '',
|
||||
keyword: params?.keywords || '',
|
||||
lrctxt: 1,
|
||||
man: params.man ?? 'no',
|
||||
};
|
||||
|
||||
return useAxios({
|
||||
baseURL: 'https://lyrics.kugou.com',
|
||||
url: '/v1/search',
|
||||
method: 'GET',
|
||||
params: dataMap,
|
||||
cookie: params?.cookie || {},
|
||||
encryptType: 'android',
|
||||
clearDefaultParams: true,
|
||||
notSign: true,
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user