mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-07-03 15:12:10 +08:00
修复关注异常的问题 #399
This commit is contained in:
parent
813e0a45b2
commit
b15ff33bd2
@ -1,4 +1,7 @@
|
||||
# 更新日志
|
||||
### 3.0.9 | 2018.12.15
|
||||
- 修复关注异常的问题 #399
|
||||
|
||||
### 3.0.8 | 2018.12.12
|
||||
- 更新文档 #386 #394
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
// 关注与取消关注用户
|
||||
|
||||
module.exports = (query, request) => {
|
||||
query.cookie.os = 'pc'
|
||||
query.t = (query.t == 1 ? 'follow' : 'delfollow')
|
||||
return request(
|
||||
'POST', `https://music.163.com/weapi/user/${query.t}/${query.id}`, {},
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "NeteaseCloudMusicApi",
|
||||
"version": "3.0.8",
|
||||
"version": "3.0.9",
|
||||
"description": "网易云音乐 NodeJS 版 API",
|
||||
"scripts": {
|
||||
"start": "node app.js",
|
||||
|
Loading…
x
Reference in New Issue
Block a user