文档
测试

医生的服务列表(done)

POST
http://localhost:8000/api/get-doctor-services

接口描述

获取某个医生的具体回答问题 table: questionsToDoctor

请求参数

参数名
类型
描述
必填
doctor_id
integer
必填
current
integer
必填
pagesize
integer
固定10
必填

说明 / 示例

{ "error": 0, "services": [ { "id": 9, "user_id": 2, "doctor_id": 1, "title": "头晕", "description": "早上起床后有些头晕。", "created_at": "2020-04-25 08:55:56", "updated_at": "2020-04-25 08:56:56", "count": 7, "update": "2020-04-25 08:55:56" }, { "id": 10, "user_id": 2, "doctor_id": 1, "title": "胃不舒服", "description": "昨天运动完喝了点冷饮,晚上胃有点不舒服。", "created_at": "2020-04-19 17:49:34", "updated_at": "2020-04-19 17:50:28", "count": 3, "update": "2020-04-19 17:49:34" }, { "id": 11, "user_id": 7, "doctor_id": 1, "title": "腰疼", "description": "一坐着就疼", "created_at": "2019-11-14 16:55:22", "updated_at": "2019-11-14 16:56:02", "count": 5, "update": "2019-11-15 11:06:55" }, { "id": 12, "user_id": 7, "doctor_id": 1, "title": "手上有藓", "description": "很长一段时间了,不知道是什么原因", "created_at": "2019-11-15 12:01:12", "updated_at": "2019-11-15 12:01:52", "count": 11, "update": "2019-11-15 12:01:17" }, { "id": 13, "user_id": 13, "doctor_id": 1, "title": "肚子疼", "description": "就是吃多了", "created_at": "2020-02-08 16:42:11", "updated_at": "2020-02-08 16:42:11", "count": 1, "update": "2020-02-08 16:41:39" }, { "id": 14, "user_id": 18, "doctor_id": 1, "title": "去湿的方法", "description": "半年以前我莫名其妙地发过敏性皮炎,全身红斑,用甲拨尼龙点的等才压下去。现在我很注意饮食,避免刺激,但经常皮肤局部发热发痒发红斑...,是不是中医说的湿气太重了的原因?有什么去湿的方法吗?谢请指导!", "created_at": "2020-04-15 16:34:39", "updated_at": "2020-04-15 16:36:37", "count": 1, "update": "2020-04-15 16:34:39" }, { "id": 15, "user_id": 20, "doctor_id": 1, "title": "肚子疼", "description": "123", "created_at": "2020-04-22 13:20:19", "updated_at": "2020-04-22 13:20:19", "count": 1, "update": "2020-04-22 13:19:23" }, { "id": 16, "user_id": 20, "doctor_id": 1, "title": "肚子疼", "description": "123", "created_at": "2020-04-22 13:20:20", "updated_at": "2020-04-22 13:20:20", "count": 1, "update": "2020-04-22 13:19:24" }, { "id": 17, "user_id": 22, "doctor_id": 1, "title": "lon_test", "description": "心情不好", "created_at": "2020-05-03 07:58:21", "updated_at": "2020-05-03 15:58:20", "count": 2, "update": "2020-05-03 15:58:21" }, { "id": 18, "user_id": 22, "doctor_id": 1, "title": "lon_test2", "description": "222222", "created_at": "2020-05-03 08:01:55", "updated_at": "2020-05-03 16:01:54", "count": 3, "update": "2020-05-03 16:01:55" } ], "total": 10 }