## :-: **車輛綁定的車手查詢接口**
~~~[api]
get:/api/User/getDriver
*varchar:token=2%26$2y$10$0RR7qI5Oj25W0IDYB5QE7ustpK/F4yo/scDQL4T/GUS1K0r8Np9bS#token密鑰
*int:siteId=test#賽場ID
*varchar:kartName=123456#車輛名稱(編號)
<<<
success
{
"code": 0,
"msg": "成功",
"data": [
{
"profilePicture": "/uploads/ae/67223193d8b612e864e193742858c8.png",
"driverName": "劉九歲",
"driverLevel": 3,
"siteId": "8",
"speedLimit": 18
}
]
}
<<<
error
{
"code": 1,
"msg": "沒有該場地"
}
<<<
error
{
"code": 1,
"msg": "沒有該車輛"
}
<<<
error
{
"code": 1,
"msg": "未找到綁定車手信息"
}
~~~
### 返回字段說明
| 字段 | 說明 |
| --- | --- |
| profilePicture | 車手頭像 |
| driverName | 車手名字 |
| driverLevel | 等級id(1=初級 2=中級 3=高級 |
| siteIdl| 賽場id(門店id) |
| speedLimit| 限速km/h |