zjhl_api

zjhl_api


同步练习-根据contentsId获取答题列表信息

[TOC]

简要描述
  • 同步练习-获取答题列表信息-接口
请求URL
  • /zjhlapi/courseInfo/getContentsDetailByParamV2
请求方式
  • POST
请求头设置
参数名 必选 类型 说明
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": ""
}
备注

页面列表

ITEM_HTML