diff --git a/docs/README.md b/docs/README.md index 45611d4120edccf69a7e87c10f1db59b49f52e2c..66c2234fc017e3a11fa3ebddaa00a557dd46deed 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1992,7 +1992,7 @@ mp3url 不能直接用 , 可通过 `/song/url` 接口传入歌曲 id 获取具 ``` -`t`: 操作,1 为点赞,其他未取消点赞 +`t`: 操作,1 为点赞,其他为取消点赞 `id`: 资源 id diff --git a/module/comment.js b/module/comment.js index 9395bf382d07d7184c788ce4036cc4401ddb57e8..389e9e36416fc1fba73b96fe49c3ec45bef56424 100644 --- a/module/comment.js +++ b/module/comment.js @@ -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', diff --git a/module/resource_like.js b/module/resource_like.js index de285b6c8b43245ddf067de92e873fb5e77dc9ad..920b94f5f439e6a958c482252610efbd34a65127 100644 --- a/module/resource_like.js +++ b/module/resource_like.js @@ -1,7 +1,7 @@ // 点赞与取消点赞资源 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