mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-23 16:11:24 +08:00
@@ -0,0 +1,15 @@
|
||||
const createOption = require('../util/option.js')
|
||||
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(
|
||||
`/api/voice/workbench/radio/program/trans`,
|
||||
data,
|
||||
createOption(query),
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user