mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-08-12 17:03:36 +00:00
33 lines
745 B
JavaScript
33 lines
745 B
JavaScript
// 云小编考试结果
|
|
//
|
|
// examType:
|
|
// 1. 歌曲曲风审核: musicalStyleEnter
|
|
// 2. 歌曲语种审核: languageEnter
|
|
// 3. 歌曲原唱审核: oriSingerEnter
|
|
// 4. 情绪标签审核: emotionEnter
|
|
//
|
|
// taskId:
|
|
// 首次调用 rep/ugc/exam/start 获取,之后调用 rep/ugc/exam/info/get 获取
|
|
|
|
const createOption = require('../util/option.js')
|
|
|
|
module.exports = (query, request) => {
|
|
if (!query.examType || !query.taskId)
|
|
return Promise.reject({
|
|
status: 400,
|
|
body: {
|
|
code: 400,
|
|
message: '参数不足',
|
|
},
|
|
})
|
|
const data = {
|
|
examType: query.examType,
|
|
taskId: query.taskId,
|
|
}
|
|
return request(
|
|
'/api/rep/ugc/exam/result/get',
|
|
data,
|
|
createOption(query, 'eapi'),
|
|
)
|
|
}
|