mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2025-12-08 00:03:09 +00:00
fixed url error
This commit is contained in:
parent
83e572f362
commit
5b9bfd7205
@ -9,7 +9,7 @@ describe('测试获取歌曲是否正常', () => {
|
|||||||
br: 999000
|
br: 999000
|
||||||
}
|
}
|
||||||
|
|
||||||
request.get({url: `${host}/music/url`, qs: qs}, (err, res, body) => {
|
request.get({url: `${host}/song/url`, qs: qs}, (err, res, body) => {
|
||||||
if (!err && res.statusCode == 200) {
|
if (!err && res.statusCode == 200) {
|
||||||
body = JSON.parse(body)
|
body = JSON.parse(body)
|
||||||
assert(!!body.data[0].url)
|
assert(!!body.data[0].url)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user