#预约列表-获取全部科室
请求地址 :http://trd.huangguaxiong.com/home/index/departments
请求参数:
| 参数 | 必要 | 注释|
| --- | --- | --- |
| departments| 否| 科室 |
响应参数
参数 | 必要 | 注释|
| --- | --- | --- |
| id| 是 | 部门id |
| title| 是 | 部门名称 |
成功
~~~
{"code":200,"data":[{"id":1,"title":"中医内科"},{"id":2,"title":"皮肤科"}],"msg":"获取数据成功"}
~~~
失败~~~
{"code":500,"data":"","msg":"获取数据失败"}
~~~