mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-05-23 22:37:41 +08:00
23 lines
740 B
JavaScript
23 lines
740 B
JavaScript
// 用户贡献内容
|
|
module.exports = (query, request) => {
|
|
const data = {
|
|
auditStatus: query.auditStatus || '',
|
|
//待审核:0 未采纳:-5 审核中:1 部分审核通过:4 审核通过:5
|
|
//WAIT:0 REJECT:-5 AUDITING:1 PARTLY_APPROVED:4 PASS:5
|
|
limit: query.limit || 10,
|
|
offset: query.offset || 0,
|
|
order: query.order || 'desc', //asc
|
|
sortBy: query.sortBy || 'createTime',
|
|
type: query.type || 1,
|
|
//曲库纠错 ARTIST:1 ALBUM:2 SONG:3 MV:4 LYRIC:5 TLYRIC:6
|
|
//曲库补充 ALBUM:101 MV:103
|
|
}
|
|
return request('POST', `https://music.163.com/weapi/rep/ugc/detail`, data, {
|
|
crypto: 'weapi',
|
|
cookie: query.cookie,
|
|
ua: query.ua || '',
|
|
proxy: query.proxy,
|
|
realIP: query.realIP,
|
|
})
|
|
}
|