mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-05-23 22:37:41 +08:00
commit
5daa11bdb6
@ -1992,7 +1992,7 @@ mp3url 不能直接用 , 可通过 `/song/url` 接口传入歌曲 id 获取具
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
`t`: 操作,1 为点赞,其他未取消点赞
|
`t`: 操作,1 为点赞,其他为取消点赞
|
||||||
|
|
||||||
`id`: 资源 id
|
`id`: 资源 id
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ const { resourceTypeMap } = require('../util/config.json')
|
|||||||
// 发送与删除评论
|
// 发送与删除评论
|
||||||
|
|
||||||
module.exports = (query, request) => {
|
module.exports = (query, request) => {
|
||||||
query.cookie.os = 'pc'
|
query.cookie.os = 'android'
|
||||||
query.t = {
|
query.t = {
|
||||||
1: 'add',
|
1: 'add',
|
||||||
0: 'delete',
|
0: 'delete',
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
// 点赞与取消点赞资源
|
// 点赞与取消点赞资源
|
||||||
|
|
||||||
module.exports = (query, request) => {
|
module.exports = (query, request) => {
|
||||||
query.cookie.os = 'pc'
|
query.cookie.os = 'android'
|
||||||
query.t = query.t == 1 ? 'like' : 'unlike'
|
query.t = query.t == 1 ? 'like' : 'unlike'
|
||||||
query.type = {
|
query.type = {
|
||||||
1: 'R_MV_5_', // MV
|
1: 'R_MV_5_', // MV
|
||||||
|
Loading…
x
Reference in New Issue
Block a user