mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-07-07 13:02:07 +08:00
相似歌手
,首页-发现-圆形图标入口列表
接口增加匿名token #877,#988,修复音乐 url
接口POST方式手动传入cookie报错问题 #1005
This commit is contained in:
@ -1,6 +1,11 @@
|
||||
// 相似歌手
|
||||
|
||||
const config = require('../util/config')
|
||||
module.exports = (query, request) => {
|
||||
if (typeof query.cookie === 'string') {
|
||||
query.cookie = cookieToJson(query.cookie)
|
||||
}
|
||||
if (!('MUSIC_U' in query.cookie))
|
||||
query.cookie.MUSIC_A = config.anonymous_token
|
||||
const data = {
|
||||
artistid: query.id,
|
||||
}
|
||||
|
Reference in New Issue
Block a user