mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2025-10-22 22:53:09 +00:00
修复云盘上传失败问题 #1332
This commit is contained in:
parent
ffeb4dc1c2
commit
28289beb8d
@ -5,7 +5,7 @@ module.exports = async (query, request) => {
|
||||
'POST',
|
||||
`https://music.163.com/weapi/nos/token/alloc`,
|
||||
{
|
||||
bucket: '',
|
||||
bucket: 'jd-musicrep-privatecloud-audio-public',
|
||||
ext: 'mp3',
|
||||
filename: query.songFile.name.replace('.mp3', ''),
|
||||
local: false,
|
||||
@ -21,7 +21,7 @@ module.exports = async (query, request) => {
|
||||
try {
|
||||
await axios({
|
||||
method: 'post',
|
||||
url: `http://45.127.129.8/ymusic/${objectKey}?offset=0&complete=true&version=1.0`,
|
||||
url: `http://45.127.129.8/jd-musicrep-privatecloud-audio-public/${objectKey}?offset=0&complete=true&version=1.0`,
|
||||
headers: {
|
||||
'x-nos-token': tokenRes.body.result.token,
|
||||
'Content-MD5': query.songFile.md5,
|
||||
|
Loading…
x
Reference in New Issue
Block a user