## 我要预约
~~~[api]
post:/index/Order/add
*file:img#图片
*int:arrear=3345#身份证后四位数
*string:contact=测试人#联系人
*string:plate_number=粤B-88888#车牌号码
*int:phone=15907511160#联系电话
*string:address=广东省深圳市宝安区测试街道#取车地址
*datetime:appoint_time=2019-10-10 12:00:00#取车时间
*code:code#短信验证码
<<<
success
{
"code": 0,
"msg": "预约成功",
"result": {
"contact": "测试人",
"arrear": "3345",
"plate_number": "粤B-88888",
"phone": "15907511160",
"address": "广东省深圳市宝安区测试街道",
"appoint_time": "2019-10-10 12:00:00",
"code": "13465",
"img": "https://vehicle-location.xtow.net/favicon.ico",
"user_id": 1,
"status": 0,
"pay_status": 0,
"create_time": "2018-09-21 10:34:54",
"update_time": "2018-09-21 10:34:54",
"id": "1"
}
}
<<<
error
{
"code": 1,
"msg": "请上传图片"
}
~~~
### 字段列表
| 字段 | 描述 |
|---|---|
| contact | 联系人 |
| arrear | 身份证后四位数 |
| plate_number | 车牌号码 |
| phone | 手机号码 |
| address | 取车地址 |
| appoint_time | 预约时间 |
| status | 订单状态 |
| pay_status| 支付状态 |
| create_time | 创建时间 |
| update_time | 更新时间 |
| id | 订单ID |