获取文章内容
POST
http://192.168.1.128/AIread/get_article
接口描述
临时链接
请求参数
参数名
类型
描述
必填
account
String
用户账号
必填
number
int
文章ID
必填
keylink
int
环节数 1、2、3、4分别表示四个环节
必填
sign
String
签名(生成方式:MD5(timestamp+'auth0t7apq') md5加密-utf8编码格式)
必填
timestamp
int
当前时间十位时间戳
必填
响应参数
参数名
类型
描述
必填
code
int
示例:200
必填
info
string
示例:获取成功
必填
number
int
文章ID 示例:10260
必填
paragraph
int
该句子对应的段落数(属于哪一段的内容) 示例:2
必填
article
int
同number,为文章ID 示例:10260
必填
content
string
该句子内容 示例:<p>The <k>task</k> did not seem very easy.
必填
content_mean
string
该句子的中文翻译 示例:这项任务看起来不太轻松。
必填
content_type
string
类型,再第三环节中,如果此处为‘EX’则需要加载音频 示例:EX
必填
img
string
音频名字,做预留 示例:M20200724.mp4
必填
id
int
该句子的ID 示例:3031
必填
audio
string
对应的视频,如果为空则表示没有 示例:https://aiword.oss-cn-hangzhou.aliyuncs.com/airead/video/M20200724.mp4
必填
number
int
文章ID 示例:10260
必填
question
int
同number 示例:10260
必填
question_title
string
问题标题 注意:问题以及问题的选项可能是音频、文本、图片等情况,可通过区分后缀(.mp3\.wav区分音频,.png/.jpg区分图片,后面可能会有其它的未知题型,此处请做好扩展) 示例:What can be inferred about Gilbert?
必填
right_answer
string
问题选项,如果前面有"88+"进行标识,表示为正确答案 示例:88+He didn't often goes to the library.
必填
error_answer1
string
问题选项 示例:He often went to the library to read books.
必填
error_answer2
string
问题选项 示例:In his opinion, reading was great fun.
必填
error_answer3
string
问题选项 示例:He prefered reading at home.
必填
display
int
预留字段 示例:0
必填
question_type
int
预留字段 示例:0
必填
question_paragraph
int
该问题对应的段落数(属于哪一段的问题) 示例:3
必填
id
int
该问题的ID 示例:2058
必填