From 4def4dcbaf966204ca25ded3885d6be531df002c Mon Sep 17 00:00:00 2001 From: binaryify Date: Sat, 7 Nov 2020 20:05:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=A7=81=E4=BF=A1=E9=9F=B3?= =?UTF-8?q?=E4=B9=90=E6=8E=A5=E5=8F=A3=E5=87=BA=E7=8E=B0=E9=A3=8E=E9=99=A9?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E7=9A=84=E9=97=AE=E9=A2=98=20#1016?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.MD | 3 +++ module/send_song.js | 3 ++- package.json | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.MD b/CHANGELOG.MD index 086e260..e729bc2 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -1,4 +1,7 @@ # 更新日志 +### 3.46.1 | 2020.11.7 +- 修复私信音乐接口出现风险提示的问题 + ### 3.46.0 | 2020.11.7 - 添加私信音乐接口 [#1016](https://github.com/Binaryify/NeteaseCloudMusicApi/issues/1016) diff --git a/module/send_song.js b/module/send_song.js index fc439aa..b2d4b0d 100644 --- a/module/send_song.js +++ b/module/send_song.js @@ -1,7 +1,8 @@ // 私信歌曲 module.exports = (query, request) => { - // query.cookie.os = 'pc' + query.cookie.os = 'ios' + query.cookie.appver = '7.3.27' const data = { id: query.id, msg: query.msg || '', diff --git a/package.json b/package.json index 852de50..188b624 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "NeteaseCloudMusicApi", - "version": "3.46.0", + "version": "3.46.1", "description": "网易云音乐 NodeJS 版 API", "scripts": { "start": "node app.js", -- GitLab