mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-05-23 22:37:41 +08:00
20 lines
360 B
JavaScript
20 lines
360 B
JavaScript
// 视频分类列表
|
|
|
|
module.exports = (query, request) => {
|
|
const data = {
|
|
offset: query.offset || 0,
|
|
total: 'true',
|
|
limit: query.limit || 99,
|
|
};
|
|
return request(
|
|
'POST',
|
|
`https://music.163.com/api/cloudvideo/category/list`,
|
|
data,
|
|
{
|
|
crypto: 'weapi',
|
|
cookie: query.cookie,
|
|
proxy: query.proxy
|
|
}
|
|
);
|
|
};
|
|
|