mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-07-10 12:22:06 +08:00
v3.5.0 增加获取动态评论接口,增加点赞和评论对动态的支持
This commit is contained in:
@ -9,11 +9,16 @@ module.exports = (query, request) => {
|
||||
2: 'A_PL_0_', // 歌单
|
||||
3: 'R_AL_3_', // 专辑
|
||||
4: 'A_DJ_1_', // 电台,
|
||||
5: 'R_VI_62_' // 视频
|
||||
5: 'R_VI_62_',// 视频
|
||||
6: 'A_EV_2_' // 动态
|
||||
}[query.type]
|
||||
const data = {
|
||||
threadId: query.type + query.id
|
||||
}
|
||||
|
||||
if(query.type == 'A_EV_2_'){
|
||||
data.threadId = query.threadId
|
||||
}
|
||||
if(query.t == 'add')
|
||||
data.content = query.content
|
||||
else if(query.t == 'delete')
|
||||
|
Reference in New Issue
Block a user