#获取挂号记录
请求地址 :http://trd.huangguaxiong.com/home/member/getreservation?uid=20
请求参数:
| 参数 | 必要 | 注释|
| --- | --- | --- |
| uid| 是 | 用户id |
响应参数
参数 | 必要 | 注释|
| --- | --- | --- |
| id| 是 | 订单id |
| reservation_doctor| 是 | 医生姓名 |
| reservation_time| 是 | 预约时间 |
| status| 是 | 0 是待履行 1已履约 2未履约|
| departments| 是 | 科室|
| reservation_name| 是 | 身份号码|
| id_card| 是 | 身份证号码|
成功
~~~
"code":200,"data":[{"id":23,"reservation_doctor":"admin13","reservation_time":"2020-03-01 00:00:00","status":0,"departments":null,"reservation_name":"香味","id_card":"29"},{"id":24,"reservation_doctor":"admin13","reservation_time":"2020-03-01 00:00:00","status":1,"departments":null,"reservation_name":"香味","id_card":"29"},{"id":25,"reservation_doctor":"admin13","reservation_time":"2020-03-01 00:00:00","status":2,"departments":null,"reservation_name":"香味","id_card":"29"}],"msg":"获取数据成功"}
~~~
失败
~~~
{"code":500,"data":"","msg":"无数据"}
~~~