mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-20 22:51:23 +08:00
update: 播客声音排序接口更新,新增删除播客
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
module.exports = (query, request) => {
|
||||
const data = {
|
||||
ids: query.ids,
|
||||
};
|
||||
}
|
||||
return request(
|
||||
"POST",
|
||||
"https://interface.music.163.com/api/content/voice/delete",
|
||||
'POST',
|
||||
'https://interface.music.163.com/api/content/voice/delete',
|
||||
data,
|
||||
{
|
||||
crypto: "weapi",
|
||||
crypto: 'weapi',
|
||||
cookie: query.cookie,
|
||||
proxy: query.proxy,
|
||||
realIP: query.realIP,
|
||||
}
|
||||
);
|
||||
};
|
||||
},
|
||||
)
|
||||
}
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
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,
|
||||
}
|
||||
);
|
||||
};
|
||||
@@ -1,12 +1,14 @@
|
||||
module.exports = (query, request) => {
|
||||
const data = {
|
||||
position: query.position,
|
||||
programId: query.programId,
|
||||
radioId: query.radioId,
|
||||
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/weapi/voice/workbench/radio/program/trans`,
|
||||
`https://interface.music.163.com/api/voice/workbench/radio/program/trans`,
|
||||
data,
|
||||
{
|
||||
crypto: 'weapi',
|
||||
|
||||
Reference in New Issue
Block a user