修复 song/url 接口提示网络拥堵的问题,单元测试修复

This commit is contained in:
binaryify
2022-09-13 11:17:59 +08:00
parent 4977423e3a
commit 88056db7bd
7 changed files with 12 additions and 3 deletions
+2 -2
View File
@@ -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 + ']',