mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-05-23 22:37:41 +08:00
Merge branch 'program_trans' into 'main'
电台节目排序接口 See merge request Binaryify/neteasecloudmusicapi!3
This commit is contained in:
commit
efd7a7b39c
20
module/voice_trans.js
Normal file
20
module/voice_trans.js
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
module.exports = (query, request) => {
|
||||||
|
const data = {
|
||||||
|
limit: query.limit || "200", // 每页数量
|
||||||
|
offset: query.offset || "0", // 偏移量
|
||||||
|
radioId: query.radioId || null, // 电台id
|
||||||
|
programId: query.programId || "0", // 节目id
|
||||||
|
position: query.position || "1", // 排序编号
|
||||||
|
};
|
||||||
|
return request(
|
||||||
|
"POST",
|
||||||
|
`https://interface.music.163.com/api/voice/workbench/radio/program/trans`,
|
||||||
|
data,
|
||||||
|
{
|
||||||
|
crypto: "weapi",
|
||||||
|
cookie: query.cookie,
|
||||||
|
proxy: query.proxy,
|
||||||
|
realIP: query.realIP,
|
||||||
|
}
|
||||||
|
);
|
||||||
|
};
|
Loading…
x
Reference in New Issue
Block a user