YesPlayMusic/napi/module/dj_radio_hot.js
2020-10-27 23:08:38 +08:00

16 lines
351 B
JavaScript

// 类别热门电台
module.exports = (query, request) => {
const data = {
cateId: query.cateId,
limit: query.limit || 30,
offset: query.offset || 0,
};
return request('POST', `https://music.163.com/api/djradio/hot`, data, {
crypto: 'weapi',
cookie: query.cookie,
proxy: query.proxy,
realIP: query.realIP,
});
};