目录名 | 作用 |
---|---|
css | 存放公共样式 |
images | 存放图片 |
页面名称 | 名称 |
---|---|
首页 | 播放器.html |
msg 接口返回信息 code 接口返回代码 code==200 时,查询正确
-
歌曲搜索接口
@url https://apimusic.linweiqin.com/search @method get @params keywords @return result,code @result songs(id,name)
-
歌曲url获取接口
@url https://apimusic.linweiqin.com/song/url @method get @params id((歌曲id) @return data,code @data id,url(歌曲URL),size,type
-
歌曲详情获取
@url https://apimusic.linweiqin.com/song/detail @method get @params ids @return songs,code @songs id,name,al(picUrl)相册
-
热门评论获取
@url https://apimusic.linweiqin.com/comment/hot?type=0 @method get @params id(歌曲id,地址中的type固定为0) @return code,total,hotComments(热门评论) @hotComments user(avatarUrl,nickname,userId),content,time,likedCount
-
mv地址获取
@url https://apimusic.linweiqin.com/mv/url @method get @params id(mvid,为0表示没有mv) @return code,data(url,size,id)