添加乐签信息接口 #1365

This commit is contained in:
binaryify 2021-11-20 20:28:37 +08:00
parent 136f14db49
commit 9803e2e5a1
6 changed files with 429 additions and 353 deletions

View File

@ -1,5 +1,9 @@
# 更新日志 # 更新日志
### 4.1.1 | 2021.11.20
- 添加乐签信息接口 [#1365](https://github.com/Binaryify/NeteaseCloudMusicApi/issues/1365)
### 4.1.0 | 2021.11.20 ### 4.1.0 | 2021.11.20
- 修复新版评论返回参数错误问题 [#1393](https://github.com/Binaryify/NeteaseCloudMusicApi/issues/1393) [#1377](https://github.com/Binaryify/NeteaseCloudMusicApi/issues/1377) - 修复新版评论返回参数错误问题 [#1393](https://github.com/Binaryify/NeteaseCloudMusicApi/issues/1393) [#1377](https://github.com/Binaryify/NeteaseCloudMusicApi/issues/1377)
@ -8,7 +12,6 @@
- 新增发送文本动态接口, 获取客户端歌曲下载链接 url 接口 [#1391](https://github.com/Binaryify/NeteaseCloudMusicApi/pull/1391) - 新增发送文本动态接口, 获取客户端歌曲下载链接 url 接口 [#1391](https://github.com/Binaryify/NeteaseCloudMusicApi/pull/1391)
### 4.0.23 | 2021.9.15 ### 4.0.23 | 2021.9.15
- 修复文件上传设置问题 [#1355](https://github.com/Binaryify/NeteaseCloudMusicApi/pull/1355) - 修复文件上传设置问题 [#1355](https://github.com/Binaryify/NeteaseCloudMusicApi/pull/1355)

View File

@ -348,6 +348,7 @@ banner({ type:0 }).then(res=>{
226. 发送文本动态 226. 发送文本动态
227. 获取客户端歌曲下载 url 227. 获取客户端歌曲下载 url
228. 获取歌单所有歌曲 228. 获取歌单所有歌曲
229. 乐签信息
## 更新日志 ## 更新日志

File diff suppressed because it is too large Load Diff

2
interface.d.ts vendored
View File

@ -1554,3 +1554,5 @@ export function playlist_track_all(
s?: number | string s?: number | string
} & RequestBaseConfig, } & RequestBaseConfig,
): Promise<Response> ): Promise<Response>
export function sign_happy_info(params: RequestBaseConfig): Promise<Response>

View File

@ -0,0 +1,9 @@
module.exports = (query, request) => {
const data = {}
return request('POST', `https://music.163.com/api/sign/happy/info`, data, {
crypto: 'weapi',
cookie: query.cookie,
proxy: query.proxy,
realIP: query.realIP,
})
}

View File

@ -1,6 +1,6 @@
{ {
"name": "NeteaseCloudMusicApi", "name": "NeteaseCloudMusicApi",
"version": "4.1.0", "version": "4.1.1",
"description": "网易云音乐 NodeJS 版 API", "description": "网易云音乐 NodeJS 版 API",
"scripts": { "scripts": {
"start": "node app.js", "start": "node app.js",