修复咪咕源无法播放的问题
parent
91e4e9c2d5
commit
f1bf274de1
|
@ -5,3 +5,4 @@
|
|||
#### 修复
|
||||
|
||||
- 修复酷我源**搜索提示、排行榜**接口挂掉的问题
|
||||
- 修复咪咕源无法播放的问题
|
||||
|
|
|
@ -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
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue