文档
测试

首页信息

POST
https://demo14.xiaoxiaocx.com/index/index/info

请求头

参数名
类型
描述
必填
store
int
店铺ID
必填

请求参数

参数名
类型
描述
必填
openId
string
openid
必填
subjectId
string
科目ID(不传或者传0默认返回第一个科目的数据)
必填

响应参数

参数名
类型
描述
必填
code
int
非0即失败
必填
msg
string
消息
必填
data
object
数据字典
必填
days
int
示例:3 剩余考试天数
必填
subjects
array
数据列表 科目列表
必填
id
int
示例:1
必填
icon
string
示例:https://longfei.obs.cn-north-1.myhuaweicloud.com/2021/08/cropped-logo-192x192.png
必填
name
string
示例:二级MS Office
必填
now_subject_id
string
示例:1 当前选择的科目
必填
topic_num
int
示例:1180 总题数
必填
cancel_topic_num
int
示例:0 完成题数
必填
error_topic_num
int
示例:0 错题数
必填
collect_topic_num
int
示例:0 收藏提数
必填
model
array
数据列表 模块
必填
name
string
示例:背题模式
必填
icon
string
示例:https://longfei.obs.cn-north-1.myhuaweicloud.com/2021/08/cropped-logo-192x192.png
必填
background
string
示例:#6ed5f7
必填
type
int
示例:1 模块类型 1.背题模式 2.练习模式 3.在线考试配置 4.错题集合 5.收藏夹 6.自定义链接
必填
page
string
示例: 类型为自定义是跳转该链接
必填