mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-24 00:21:23 +08:00
version 2.5.0 增加 mv/专辑/歌单评论接口,增加云盘相关接口,增加获取用户动态/信息接口,增加关注/粉丝列表接口,增加收藏歌单接口,增加相似 mv/歌曲/用户接口,增加 banner 接口,增加刷新登录接口,增加电台相关接口,补充评论接口,更新文档
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
//分类歌单
|
||||
const express = require("express")
|
||||
const router = express()
|
||||
const { createWebAPIRequest } = require("../util/util")
|
||||
@@ -9,16 +10,18 @@ router.get("/", (req, res) => {
|
||||
cat: req.query.cat || "全部",
|
||||
order: req.query.order || "hot",
|
||||
offset: req.query.offset || 0,
|
||||
total: req.query.offset ? 'true' : 'false',
|
||||
total: req.query.total ? 'true' : 'false',
|
||||
limit: req.query.limit || 50
|
||||
}
|
||||
createWebAPIRequest(
|
||||
'music.163.com',
|
||||
'/api/playlist/list',
|
||||
'/weapi/playlist/list',
|
||||
'POST',
|
||||
data,
|
||||
cookie,
|
||||
music_req => res.send(music_req),
|
||||
music_req => {
|
||||
res.send(music_req)
|
||||
},
|
||||
err => res.status(502).send('fetch error')
|
||||
)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user