fix:上传问题修复

This commit is contained in:
binaryify 2024-01-29 17:55:14 +08:00
parent 4c6d2910ca
commit 0f458b1784
3 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,7 @@
# 更新日志
### 4.15.2 | 2024.01.29
- 上传接口问题修复
### 4.15.1 | 2024.01.26
- 版本更新提示不展示问题修复

View File

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

View File

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