文档
测试

题目数据-单选

POST
https://liuxue.beiqing86.com/offerapi/Practice/getTopicInfo

请求参数

参数名
类型
描述
必填
uid
int
示例:1
必填
id
int
示例:12
必填

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
msg
string
示例:操作成功
必填
time
int
示例:0
必填
data
object
数据字典
必填
id
int
示例:12
必填
title
string
标题示例:Section 2
必填
topic_time
int
倒计时(秒)示例:1200
必填
useranswer
string
用户输入的答案
必填
data
array
数据列表
必填
topic_id
int
示例:1
必填
title
string
示例:Test1-Section 1-单选
必填
type
int
示例:1
必填
pid
int
示例:0
必填
hear
string
头部数据示例:<p>Questions11-14</p><p><br/></p><p>Choose the correct letter,<strong> A, B</strong> or <strong>C</strong>.</p><p><br/></p>
必填
topic
array
单选题数据列表
必填
topic
string
题目示例:11 According to the speaker, the company
必填
a_opt
string
选项示例: has been in business for longer than most of its competitors.
必填
b_opt
string
选项示例:arranges holidays to more destinations than its competitors.
必填
c_opt
string
选项示例:has more customers than its competitors.
必填
answer
string
答案示例:B
必填
analysis
string
讲解示例:根据题目信息:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
必填

说明 / 示例

``` { "code": 200, "msg": "操作成功", "time": 0, "data": { "id": 12, "title": "Section 2", "topic_time": 1200, "topic_ids": "1", "useranswer": "A!!!!C", "data": [ { "topic_id": 1, "title": "Test1-Section 1-单选", "type": 1, "pid": 0, "hear": "<p>Questions11-14</p><p><br/></p><p>Choose the correct letter,<strong> A, B</strong> or <strong>C</strong>.</p><p><br/></p>", "topic": [ { "topic": "11 According to the speaker, the company", "a_opt": " has been in business for longer than most of its competitors.", "b_opt": "arranges holidays to more destinations than its competitors.", "c_opt": "has more customers than its competitors.", "answer": "B", "analysis": "根据题目信息:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" }, { "topic": "12 Where can customers meet the tour manager before travelling to the Isle of Man?", "a_opt": " Liverpool", "b_opt": "Heysham", "c_opt": "Luton", "answer": "B", "analysis": "根据题目信息:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" } ] } ] } } ```