mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-05-23 22:37:41 +08:00
修复歌词接口出错问题
This commit is contained in:
parent
ded6dc74a7
commit
a260e3b352
@ -1,4 +1,7 @@
|
|||||||
# 更新日志
|
# 更新日志
|
||||||
|
### 3.8.1 | 2019.04.24
|
||||||
|
- 修复歌词接口出错问题
|
||||||
|
|
||||||
### 3.8.0 | 2019.04.14
|
### 3.8.0 | 2019.04.14
|
||||||
- 增加注册,发送验证码,校验验证码接口 via:[https://github.com/Binaryify/NeteaseCloudMusicApi/pull/460](https://github.com/Binaryify/NeteaseCloudMusicApi/pull/460) @[KongValley](https://github.com/KongValley)
|
- 增加注册,发送验证码,校验验证码接口 via:[https://github.com/Binaryify/NeteaseCloudMusicApi/pull/460](https://github.com/Binaryify/NeteaseCloudMusicApi/pull/460) @[KongValley](https://github.com/KongValley)
|
||||||
|
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
// 歌词
|
// 歌词
|
||||||
|
|
||||||
module.exports = (query, request) => {
|
module.exports = (query, request) => {
|
||||||
|
const data={
|
||||||
|
id:query.id
|
||||||
|
}
|
||||||
return request(
|
return request(
|
||||||
'POST', `https://music.163.com/weapi/song/lyric?os=osx&id=${query.id}&lv=-1&kv=-1&tv=-1`, {},
|
'POST', `https://music.163.com/weapi/song/lyric?lv=-1&kv=-1&tv=-1`, data,
|
||||||
{crypto: 'weapi', cookie: query.cookie, proxy: query.proxy}
|
{crypto: 'linuxapi', cookie: query.cookie, proxy: query.proxy}
|
||||||
)
|
)
|
||||||
}
|
}
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "NeteaseCloudMusicApi",
|
"name": "NeteaseCloudMusicApi",
|
||||||
"version": "3.8.0",
|
"version": "3.8.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