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 },