文档
测试

首页所有问答标题(done)

POST
http://127.0.0.1:8000/api/index-historyQuestions

接口描述

请求首页上的用户历史问答,questionToDoctor表,所有用户每次首个聊天标题+内容,即提出的问题

请求头

参数名
类型
描述
必填
Authorization
String
Token
必填

请求参数

参数名
类型
描述
必填
current
integer
必填
pageSize
Integer
5
必填

响应参数

参数名
类型
描述
必填
error
Integer
必填
questions
List
必填
total
Intefer
必填

说明 / 示例

{ "total": 8, "questions": [ { "id": 16, "title": "肚子疼", "description": "123" }, { "id": 15, "title": "肚子疼", "description": "123" }, { "id": 14, "title": "去湿的方法", "description": "半年以前我莫名其妙地发过敏性皮炎,全身红斑,用甲拨尼龙点的等才压下去。现在我很注意饮食,避免刺激,但经常皮肤局部发热发痒发红斑...,是不是中医说的湿气太重了的原因?有什么去湿的方法吗?谢请指导!" }, { "id": 13, "title": "肚子疼", "description": "就是吃多了" }, { "id": 12, "title": "手上有藓", "description": "很长一段时间了,不知道是什么原因" } ], "error": 0 }