文档
测试

添加一个问题(done)

POST
http://127.0.0.1:8000/api/add-question

接口描述

添加一个问题

请求头

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

请求参数

参数名
类型
描述
必填
title
String
必填
description
String
必填
doctor_id
Integer
必填

响应参数

参数名
类型
描述
必填
error
Integer
必填
newQuestionToDoctor
List
必填

说明 / 示例

{ "error": 0, "newQuestionToDoctor": { "doctor_id": "1", "user_id": 14, "title": "1", "description": "11", "created_at": "2020-05-06 15:40:02", "updated_at": "2020-05-06 15:40:02", "id": 19 } }