From 985a054658be86d51bf8ec643d8499156b239675 Mon Sep 17 00:00:00 2001 From: binaryify Date: Wed, 4 Jan 2023 10:46:58 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=20#1658?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.MD | 3 +++ module/login.js | 4 ++-- module/login_cellphone.js | 4 ++-- package.json | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.MD b/CHANGELOG.MD index b592909..39533e4 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -1,4 +1,7 @@ # 更新日志 +### 4.8.7 | 2023.01.04 +- 手机登录问题修复 [#1658] + ### 4.8.6 | 2023.01.02 - 手机登录问题修复 [#1658] diff --git a/module/login.js b/module/login.js index 9104fe3..2a43a78 100644 --- a/module/login.js +++ b/module/login.js @@ -3,8 +3,8 @@ const crypto = require('crypto') module.exports = async (query, request) => { - query.cookie.os = 'pc' - query.cookie.appver = '2.10.6' + query.cookie.os = 'ios' + query.cookie.appver = '8.7.01' const data = { username: query.email, password: diff --git a/module/login_cellphone.js b/module/login_cellphone.js index ebdc4fe..e7374b4 100644 --- a/module/login_cellphone.js +++ b/module/login_cellphone.js @@ -3,8 +3,8 @@ const crypto = require('crypto') module.exports = async (query, request) => { - query.cookie.os = 'pc' - query.cookie.appver = '2.10.5' + query.cookie.os = 'ios' + query.cookie.appver = '8.7.01' const data = { phone: query.phone, countrycode: query.countrycode || '86', diff --git a/package.json b/package.json index 2c96177..2201c25 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "NeteaseCloudMusicApi", - "version": "4.8.6", + "version": "4.8.7", "description": "网易云音乐 NodeJS 版 API", "scripts": { "start": "node app.js",