From 0f458b178493b66056b21cb66c42c371b7049499 Mon Sep 17 00:00:00 2001 From: binaryify Date: Mon, 29 Jan 2024 17:55:14 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=B8=8A=E4=BC=A0=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.MD | 3 +++ package.json | 2 +- plugins/upload.js | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.MD b/CHANGELOG.MD index ae16b8c..094bb02 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -1,4 +1,7 @@ # 更新日志 +### 4.15.2 | 2024.01.29 +- 上传接口问题修复 + ### 4.15.1 | 2024.01.26 - 版本更新提示不展示问题修复 diff --git a/package.json b/package.json index 321ba9b..4cb0c5e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "NeteaseCloudMusicApi", - "version": "4.15.1", + "version": "4.15.2", "description": "网易云音乐 NodeJS 版 API", "scripts": { "start": "node app.js", diff --git a/plugins/upload.js b/plugins/upload.js index a403553..590db12 100644 --- a/plugins/upload.js +++ b/plugins/upload.js @@ -31,7 +31,7 @@ module.exports = async (query, request) => { const imgX = query.imgX || 0 const imgY = query.imgY || 0 const res3 = await request( - 'POST', + 'GET', `https://music.163.com/upload/img/op?id=${res.body.result.docId}&op=${imgX}y${imgY}y${imgSize}y${imgSize}`, {}, { crypto: 'weapi', cookie: query.cookie, proxy: query.proxy },