mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-05-23 22:37:41 +08:00
修复cookie没返回的问题 #778
This commit is contained in:
parent
ceb99119d0
commit
251e14bdd5
@ -1,4 +1,7 @@
|
|||||||
# 更新日志
|
# 更新日志
|
||||||
|
### 3.31.1 | 2020.05.19
|
||||||
|
- 修复`cookie`没返回的问题 [#778](https://github.com/Binaryify/NeteaseCloudMusicApi/issues/778)
|
||||||
|
|
||||||
### 3.31.0 | 2020.05.18
|
### 3.31.0 | 2020.05.18
|
||||||
- 支持 `Node.js` 调用,参考`module_example` 文件夹下的 `test.js`
|
- 支持 `Node.js` 调用,参考`module_example` 文件夹下的 `test.js`
|
||||||
|
|
||||||
|
@ -29,7 +29,8 @@ module.exports = async (query, request) => {
|
|||||||
body: {
|
body: {
|
||||||
...result.body,
|
...result.body,
|
||||||
cookie: result.cookie.join(';')
|
cookie: result.cookie.join(';')
|
||||||
}
|
},
|
||||||
|
cookie: result.cookie
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return result
|
return result
|
||||||
|
@ -21,7 +21,8 @@ module.exports = async (query, request) => {
|
|||||||
body: {
|
body: {
|
||||||
...result.body,
|
...result.body,
|
||||||
cookie: result.cookie.join(';')
|
cookie: result.cookie.join(';')
|
||||||
}
|
},
|
||||||
|
cookie: result.cookie
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return result
|
return result
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "NeteaseCloudMusicApi",
|
"name": "NeteaseCloudMusicApi",
|
||||||
"version": "3.31.0",
|
"version": "3.31.1",
|
||||||
"description": "网易云音乐 NodeJS 版 API",
|
"description": "网易云音乐 NodeJS 版 API",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node app.js",
|
"start": "node app.js",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user