文档
测试

index/题库列表

POST
https://www.scoreupup.com/index/topic/index

接口描述

题目搜索 搜题 题列表 业务分类排序方式 科目>题材>题目列表

请求参数

参数名
类型
描述
必填
c_id
int
科目id
可选
t_id
int
题材id
可选
page
int
当前页
必填
limit
int
每页显示数量
必填

响应参数

参数名
类型
描述
必填
code
int
0:正常,
必填
msg
string
错误反馈
可选
data
array
返回数据 [ 题目id ]
必填
stem
string
题目内容
必填
t_id
int
题材来源
必填
count
int
总数量
必填

说明 / 示例

https://www.scoreupup.com/index/topic/index?c_id=8&t_id=3 { "code": 0, "data": { "topics": [ //题目id 15, 14, 12, 11 ], "count": 4, //题目总数(不翻页) "textbooks": [ //题材列表(未传科目c_id 时默认取科目首个id下的题材) { "id": 4, "title": "OG", "type": 0 //0:免费,1:付费 }, { "id": 3, "title": "PREP", "type": 0 } ], "courses": [ //科目列表 { "id": 12, "name": "综合推理" }, { "id": 11, "name": "数学DS" }, { "id": 10, "name": "数学PS" }, { "id": 8, "name": "语文语法" }, { "id": 7, "name": "语文逻辑" } ] } }