Skip to content

Commit

Permalink
修复网易云音乐通过 id 获取失败问题
Browse files Browse the repository at this point in the history
  • Loading branch information
maicong committed Dec 8, 2017
1 parent a533189 commit 7018719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/music.php
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ function mc_get_song_by_id($songid, $site = 'netease', $multi = false)
'method' => 'POST',
'url' => 'http://music.163.com/api/song/enhance/player/url',
'params' => array(
'ids' => $songid,
'ids' => is_array($songid) ? $songid : [$songid],
'br' => 320000,
)
))
Expand Down

0 comments on commit 7018719

Please sign in to comment.