mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-07-07 03:22:08 +08:00
新增云盘歌曲信息匹配纠正接口 #1212
This commit is contained in:
20
module/cloud_match.js
Normal file
20
module/cloud_match.js
Normal file
@ -0,0 +1,20 @@
|
||||
module.exports = (query, request) => {
|
||||
query.cookie.os = 'ios'
|
||||
query.cookie.appver = '8.1.20'
|
||||
const data = {
|
||||
userId: query.uid,
|
||||
songId: query.sid,
|
||||
adjustSongId: query.asid,
|
||||
}
|
||||
return request(
|
||||
'POST',
|
||||
`https://music.163.com/api/cloud/user/song/match`,
|
||||
data,
|
||||
{
|
||||
crypto: 'weapi',
|
||||
cookie: query.cookie,
|
||||
proxy: query.proxy,
|
||||
realIP: query.realIP,
|
||||
},
|
||||
)
|
||||
}
|
Reference in New Issue
Block a user