整合网上题库到answer-search API
基础 URL: https://api.answer.uu988.xyz:4545
-
题目搜索
-
路径:
/answer/search
-
请求方式:
POST
-
请求类型:
application/json
-
请求体:
{ question: '题目内容'; }
-
响应体:
{ errno: 0, message: "消息", data: { question: "题目内容", answers: [ "答案1", "答案2", ], from: "来源题库" } }
-
示例:
-
请求体
{ question: '新时期要注重选拔任用()、()、()、()、()的干部,对政治不合格的干部实行“一票否决”,已经在领导岗位的坚决调整。'; }
-
响应体
{ errno: 0, message: "search success", data: { question: "新时期要注重选拔任用()、()、()、()、()的干部,对政治不合格的干部实行“一票否决”,已经在领导岗位的坚决调整。", answers: [ "A", "B", "C", "D", "E" ], from: "https://www.yisouti.com/search" } }
-
-
-
题库查询
-
路径:
/answer/bank
-
请求方式:
POST
-
响应体:
{ errno: 0, message: "消息", data: { bank: [ "题库1", "题库2", ], } }
-
示例:
-
响应体
{ errno: 0, message: "get bankList success", data: { bank: [ "https://a6.qikekeji.com/txt/data/detail", "http://www.syiban.com/search/index/init.html", ] } }
-
-