mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-20 22:51:23 +08:00
修复 song/url 接口提示网络拥堵的问题,单元测试修复
This commit is contained in:
+2
-2
@@ -2,8 +2,8 @@
|
||||
|
||||
const crypto = require('crypto')
|
||||
module.exports = (query, request) => {
|
||||
if (!('MUSIC_U' in query.cookie))
|
||||
query.cookie._ntes_nuid = crypto.randomBytes(16).toString('hex')
|
||||
// if (!('MUSIC_U' in query.cookie))
|
||||
// query.cookie._ntes_nuid = crypto.randomBytes(16).toString('hex')
|
||||
query.cookie.os = 'pc'
|
||||
const data = {
|
||||
ids: '[' + query.id + ']',
|
||||
|
||||
Reference in New Issue
Block a user