mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2024-11-29 20:13:53 +08:00
21 lines
378 B
JavaScript
21 lines
378 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/weapi/djradio/get/subed`,
|
||
|
data,
|
||
|
{
|
||
|
crypto: 'weapi',
|
||
|
cookie: query.cookie,
|
||
|
proxy: query.proxy,
|
||
|
realIP: query.realIP,
|
||
|
},
|
||
|
)
|
||
|
}
|