mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2025-10-22 22:53:09 +00:00
temp. 暂时移除解灰功能
This commit is contained in:
parent
9758f53058
commit
f4ac52756e
@ -239,7 +239,7 @@ async function consturctServer(moduleDefs) {
|
|||||||
return request(...obj)
|
return request(...obj)
|
||||||
})
|
})
|
||||||
console.log('[OK]', decode(req.originalUrl))
|
console.log('[OK]', decode(req.originalUrl))
|
||||||
|
/*
|
||||||
if (req.baseUrl === '/song/url/v1' || req.baseUrl === '/song/url') {
|
if (req.baseUrl === '/song/url/v1' || req.baseUrl === '/song/url') {
|
||||||
const song = moduleResponse['body']['data'][0]
|
const song = moduleResponse['body']['data'][0]
|
||||||
if (!song.url || [1, 4].includes(song.fee)) {
|
if (!song.url || [1, 4].includes(song.fee)) {
|
||||||
@ -251,7 +251,7 @@ async function consturctServer(moduleDefs) {
|
|||||||
console.log("解灰成功!")// 对于Splayer来说,去除开通会员提示
|
console.log("解灰成功!")// 对于Splayer来说,去除开通会员提示
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
const cookies = moduleResponse.cookie
|
const cookies = moduleResponse.cookie
|
||||||
if (!query.noCookie) {
|
if (!query.noCookie) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user