diff --git a/publish/changeLog.md b/publish/changeLog.md index f1e7efbe..fe5fa638 100644 --- a/publish/changeLog.md +++ b/publish/changeLog.md @@ -5,3 +5,4 @@ #### 修复 - 修复酷我源**搜索提示、排行榜**接口挂掉的问题 +- 修复咪咕源无法播放的问题 diff --git a/src/renderer/utils/music/mg/api-test.js b/src/renderer/utils/music/mg/api-test.js index 02446db5..a64b6b29 100644 --- a/src/renderer/utils/music/mg/api-test.js +++ b/src/renderer/utils/music/mg/api-test.js @@ -11,7 +11,7 @@ const api_test = { family: 4, }) requestObj.promise = requestObj.promise.then(({ body }) => { - return body.code === 0 ? Promise.resolve({ type, url: encodeURI(body.data) }) : Promise.reject(new Error(requestMsg.fail)) + return body.code === 0 ? Promise.resolve({ type, url: body.data }) : Promise.reject(new Error(requestMsg.fail)) }) return requestObj },