mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-03-21 19:13:10 +00:00
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>
15 lines
389 B
JavaScript
15 lines
389 B
JavaScript
// 获取用户的收藏歌单列表
|
|
|
|
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))
|
|
}
|