文档
测试

3.获取今日学习计划-getTodayPlan

GET
http://php.etest8.com/api/index/getTodayPlan

接口描述

获取今日的学习计划信息

请求头

参数名
类型
描述
必填
Content-Type
string
application/x-www-form-urlencoded
必填
sessionHeaderKey
string
小程序使用,识别用户身份
必填

请求参数

参数名
类型
描述
必填

成功返回

参数名
类型
描述
必填
code
number
错误码,0正确,100~200为用户操作错误,其他则为服务器错误
必填
data
object
题库学习计划内容
必填
day
number
距离考试天数
必填
total
number
学习计划总天数
必填
list
array
今日学习计划内容
必填
id
number
试题id
必填
title
string
试题名称
必填
history
dictionary
历史学习计划内容
必填
data
string
日期
必填
list
array
当日学习计划内容
必填
id
number
题库id
必填
title
string
题库标题
必填

失败返回

参数名
类型
描述
必填
code
number
错误码,0正确,100~200为用户操作错误,其他则为服务器错误
必填
message
string
错误原因
必填