## 我要預約
~~~[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 |