v3.5.0 增加获取动态评论接口,增加点赞和评论对动态的支持

This commit is contained in:
binaryify
2019-03-14 16:03:56 +08:00
parent bcfdbe4406
commit a61c1250fc
8 changed files with 71 additions and 5 deletions

View File

@ -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')