YesPlayMusic/netease_api/module/digitalAlbum_purchased.js
2021-03-06 22:07:16 +08:00

21 lines
381 B
JavaScript

// 我的数字专辑
module.exports = (query, request) => {
const data = {
limit: query.limit || 30,
offset: query.offset || 0,
total: true,
}
return request(
'POST',
`https://music.163.com/api/digitalAlbum/purchased`,
data,
{
crypto: 'weapi',
cookie: query.cookie,
proxy: query.proxy,
realIP: query.realIP,
},
)
}