mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-07-14 16:22:08 +08:00
13 lines
357 B
JavaScript
13 lines
357 B
JavaScript
const createOption = require('../util/option.js')
|
|
module.exports = (query, request) => {
|
|
const data = {
|
|
id: query.id,
|
|
private_cloud: 'true',
|
|
work_type: 1,
|
|
order: query.order || 'hot', //hot,time
|
|
offset: query.offset || 0,
|
|
limit: query.limit || 100,
|
|
}
|
|
return request('POST', `/api/v1/artist/songs`, data, createOption(query))
|
|
}
|