mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2025-10-23 07:33:10 +00:00
fixed url error
This commit is contained in:
parent
83e572f362
commit
5b9bfd7205
@ -9,7 +9,7 @@ describe('测试获取歌曲是否正常', () => {
|
||||
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) {
|
||||
body = JSON.parse(body)
|
||||
assert(!!body.data[0].url)
|
||||
|
Loading…
x
Reference in New Issue
Block a user