[TOC]
简要描述
请求URL
/zjhlapi/courseInfo/getContentsDetailByParamV2
请求方式
请求头设置
参数名 |
必选 |
类型 |
说明 |
timestamp |
是 |
string |
当前时间的时间戳 |
appId |
是 |
string |
app标识 |
nonce |
是 |
string |
随机生成的6位字符串 |
sign |
是 |
string |
由appId,appSecret,nonce,timestamp通过sha1加密得到的sign标识 |
请求参数
参数名 |
必选 |
类型 |
说明 |
备注 |
contentsId |
是 |
int |
当前小节id |
type |
是 |
int |
类别 |
userId |
是 |
string |
用户id |
请求示例
{
"contentsId": 0,
"type": 0,
"userId": "123456"
}
返回示例
{
"code": 0,
"data": {
"hasReportSyncCourse": false, 是否有看同步课程
"list": [ 题目信息
{
"answerDimSet": [], 题目答案对应的模糊集
"answerOption": [], 题目答案选项
"pointTime": "", 打点时间
"questionContent": "", 题目内容
"questionContentPicId": "", 题目正文图片文件ID
"questionContentPicUrl": "", 题目正文图片文件地址
"questionContentVoiceId": "", 题目正文音频文件ID
"questionContentVoiceUrl": "", 题目正文音频文件地址
"questionId": 0, 题目id
"questionOption": [ 题目选项
{
"content": "", 选项内容
"extend": "", 拓展信息
"option": "", 题目选项
"url": "" 选项地址
}
],
"questionType": 0 题目类型
}
]
},
"message": ""
}
备注