未验证 提交 5daa11bd 编写于 作者: B binaryify 提交者: GitHub

Merge pull request #1446 from chen310/dev

fix: 发送/删除评论、点赞失败
......@@ -1992,7 +1992,7 @@ mp3url 不能直接用 , 可通过 `/song/url` 接口传入歌曲 id 获取具
```
`t`: 操作,1 为点赞,其他取消点赞
`t`: 操作,1 为点赞,其他取消点赞
`id`: 资源 id
......
......@@ -2,7 +2,7 @@ const { resourceTypeMap } = require('../util/config.json')
// 发送与删除评论
module.exports = (query, request) => {
query.cookie.os = 'pc'
query.cookie.os = 'android'
query.t = {
1: 'add',
0: 'delete',
......
// 点赞与取消点赞资源
module.exports = (query, request) => {
query.cookie.os = 'pc'
query.cookie.os = 'android'
query.t = query.t == 1 ? 'like' : 'unlike'
query.type = {
1: 'R_MV_5_', // MV
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册