提交 57c3b0f3 编写于 作者: B binaryify

修复点赞问题,更新文档

上级 23b9a0e7
# 更新日志
### 2.20.4 | 2018.09.27
修复点赞失效的问题
### 2.20.3 | 2018.09.26
- 增加退出登陆接口
......
......@@ -844,8 +844,7 @@ mp3url 不能直接用 , 可通过 `/music/url` 接口传入歌曲 id 获取具
**接口地址 :** `comment/like`
**调用例子 :** `/comment/like?id=186016&cid=4956438&t=1&type=0` 对应给晴天最热门
的那条评论点赞
**调用例子 :** `/comment/like?id=29178366&cid=12840183&t=1&type=0` 对应给 [https://music.163.com/#/song?id=29178366](https://music.163.com/#/song?id=29178366) 最热门的评论点赞
### 发送/删除评论
......
{
"name": "NeteaseCloudMusicApi",
"version": "2.20.3",
"version": "2.20.4",
"description": "网易云音乐 NodeJS 版 API",
"scripts": {
"start": "node app.js",
......
//comment like
module.exports = (req, res, createWebAPIRequest, request) => {
const cookie = req.get('Cookie') ? req.get('Cookie') : ''
let cookie = req.get('Cookie') ? req.get('Cookie') : ''
cookie += ';os=pc;'
const cid = req.query.cid //评论 id
const id = req.query.id
const typeMap = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册