mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-20 14:41:23 +08:00
feat: Add user playlist endpoints & domain overrides (bump 4.30.1) (#105)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
Copilot Autofix powered by AI
dependabot[bot]
parent
a19418bbb6
commit
2a0b54e442
@@ -0,0 +1,14 @@
|
||||
// 获取用户的收藏歌单列表
|
||||
|
||||
const createOption = require('../util/option.js')
|
||||
module.exports = (query, request) => {
|
||||
const data = {
|
||||
limit: query.limit || '100',
|
||||
offset: query.offset || '0',
|
||||
userId: query.uid,
|
||||
isWebview: 'true',
|
||||
includeRedHeart: 'true',
|
||||
includeTop: 'true',
|
||||
}
|
||||
return request(`/api/user/playlist/collect`, data, createOption(query))
|
||||
}
|
||||
Reference in New Issue
Block a user