## **獲取服務器接口 getUrlInfo**
**接口描述**
* 獲取用戶服務器物理地址信息
**請求URL**
* [http://mac.weimeizhan.com/nbw/api/getdeviceinfo/](http://mac.weimeizhan.com/nbw/api/getdeviceinfo/)
**請求方式**
* GET
**請求參數**
| 參數名 | 類型 | 說明 |
| --- | --- | --- |
| deviceId| string | 設備序列號 |
**返回參數**
| 參數名 | 類型 | 說明 |
| --- | --- | --- |
|hostUrl| string | 服務器域名 |
| getDeviceInfo | string | 設備信息 |
| getClassInfo | string | 班級信息接口 |
| getStudentInfo | string | 學生信息接口|
| postUrl | string | 考勤數據上報接口|
| postUrl2 | string | 考勤數據上報接口2|
| gpsUrl | string | 校車位置上報接口 |
| commandUrl | string | 維護服務器接口 |
| leaveUrl| string | 學生請假接口 |
**返回示例**
```
{
"status": 0,
"msg": "success",
"data": {
"getDeviceInfo": "abc.com",
"getClassInfo": "abc.com",
"getStudentInfo": "abc.com",
"postUrl": "abc.com",
"postUrl2": "abc.com",
"gpsUrl": "abc.com",
"leaveUrl": "abc.com",
"commandUrl": "abc.com",
"deviceSetUrl": "abc.com"
}
}
```