## **獲取服務器接口信息 getUrlInfo**
**接口描述**
* 獲取用戶服務器物理地址信息
**請求URL**
* [http://www.daren007.com/api/getUrlInfo/](http://www.daren007.com/api/getUrlInfo/)
**請求方式**
* GET
**請求參數**
| 參數名 | 類型 | 說明 |
| --- | --- | --- |
| deviceId| string | 設備序列號 |
**返回參數**
| 參數名 | 類型 | 說明 |
| --- | --- | --- |
|hostUrl| string | 服務器域名 |
| getDeviceInfo | string | 設備信息 |
| getClassInfo | string | 班級信息接口 |
| getStudentInfo | string | 學生信息接口|
| postUrl | string | 考勤數據上報接口|
| postUrl2 | string | 考勤數據上報接口2|
| leaveUrl | string | 檢驗學生是否請假接口 |
| detectionUrl | string | 晨檢數據上報接口|
| gpsUrl | string | 校車位置上報接口 |
| commondUrl | string | 維護服務器接口 |
| outTimeUrl | string | 放假時間接口 |
| posUrl | string | 消費數據上報接口 |
| deviceSetUrl| string | 考勤機相關配置接口 |
| courseUrl | string | 培訓班電子班牌接口 |
| postCourseUrl | string | 培訓班電子班牌上報接口 |
| attendanceLogUrl| string | 考勤日志接口 |
| courseLogUrl | string | 課程日志接口 |
| postMessageUrl| string | 學生給家長留言接口 |
| getMessageUrl| string | 獲取家長給學生留言接口 |
| classBrandUrl| string | 公立學校電子班牌 |
| postClassBrandUrl| string | 公立學校電子班牌上報 |
**返回示例**
```
{
"status": 0,//成功返回0,失敗返回非0,并msg輸出
"msg": "獲取設備數據成功",//服務器返回
"data":
{
"hostUrl":"abc.com",
"getDeviceInfo":"abc.com",
"getClassInfo":"abc.com",
"getStudentInfo":"abc.com",
"leaveUrl":"abc.com",
"postUrl":"abc.com",
"postUrl2":"abc.com",//考勤數據上報2,如果是宿舍考勤,推薦使用這個
"detectionUrl":"abc.com",
"gpsUrl":"abc.com",
"commondUrl":"abc.com",
"outTimeUrl":"abc.com",
"deviceSetUrl":"abc.com",
"posUrl":"abc.com",
"courseUrl":"abc.com",
"postCourseU":"abc.com",
"postCourseUrl":"abc.com",
"attendanceLogUrl":"abc.com",
"courseLogUrl ":"abc.com",
"postMessageUrl":"abc.com",
"getMessageUrl":"abc.com",
"classBrandUrl":"abc.com",
"postClassBrandUrl":"abc.com",
}
"serverTime": "1535703001194"//服務器時間
}
```