##设备机详情
+++
post:/index.php/api/Hardware/machineInfo
*int:id=12#设备账号主键id
<<<
success
{
"info": {
//设备机详情
"data": {
"id": 11,
"account": "zjsf02",
"uid": 11,
"mark": null,
"status": 1,
"is_login": 1, //1表示已经登录,0表示未登录
"create_time": 1517797534,
"update_time": 1517797534
},
"car_data": {
//设备机拍摄列表
"list": [
{
"car_id": 1,
"car_card": "京NH26U8",
"car_location": "北京市朝阳区屏翠东路4号院靠近锐创国际中心B座",
"car_photo": "/public/uplaod/bc84596f0831e8cd2da930759527c198-8c7dd922ad47494fc02c388e12c00eac.png",
"car_addtime": "2018-2-2 14:52:55",
"car_mark": "",
"car_hash": "1ab1d41658129e2fa4de6dd52f3fd76b",
"machine_id": 11
},
{
"car_id": 2,
"car_card": "京N865H8",
"car_location": "北京市朝阳区屏翠东路8号靠近锐创国际中心B座",
"car_photo": "/public/uplaod/2bf8851fdec603270fe702fc2b6b076c-8c7dd922ad47494fc02c388e12c00eac.png",
"car_addtime": "2017-12-11 14:25:15",
"car_mark": "",
"car_hash": "2f2d7cea15a8641992e6d47b09db8a37",
"machine_id": 11
}
],
"car_card_list": [
"京NH26U8",
"赣KKA300",
"津KKA300",
"津KKA300",
"京Y8Q668",
"赣KKA300",
"京Y8Q668",
"京456GH",
"京J90000",
"京N865H8"
],
## 近七天拍摄列表
"week_list": [
{
"car_id": 1,
"car_card": "京NH26U8",
"car_location": "北京市朝阳区屏翠东路4号院靠近锐创国际中心B座",
"car_photo": "/public/uplaod/bc84596f0831e8cd2da930759527c198-8c7dd922ad47494fc02c388e12c00eac.png",
"car_addtime": "2018-2-2 14:52:55",
"car_mark": "",
"car_hash": "1ab1d41658129e2fa4de6dd52f3fd76b",
"machine_id": 11
},
{
"car_id": 2,
"car_card": "赣KKA300",
"car_location": "北京市朝阳区屏翠东路8号靠近锐创国际中心B座",
"car_photo": "/public/uplaod/e68c8a09d29f97394b034760bcb05b8c-8c7dd922ad47494fc02c388e12c00eac.png",
"car_addtime": "2018-2-1 15:04:02",
"car_mark": "",
"car_hash": "76f6dd2a8e241cba2a48fb60a0eec4f7",
"machine_id": 11
}
],
"car_card_weeklist": [
"京NH26U8",
"赣KKA300"
],
## 近30天拍摄列表
"month_list": [
{
"car_id": 1,
"car_card": "京NH26U8",
"car_location": "北京市朝阳区屏翠东路4号院靠近锐创国际中心B座",
"car_photo": "/public/uplaod/bc84596f0831e8cd2da930759527c198-8c7dd922ad47494fc02c388e12c00eac.png",
"car_addtime": "2018-2-2 14:52:55",
"car_mark": "",
"car_hash": "1ab1d41658129e2fa4de6dd52f3fd76b",
"machine_id": 11
},
{
"car_id": 2,
"car_card": "赣KKA300",
"car_location": "北京市朝阳区屏翠东路8号靠近锐创国际中心B座",
"car_photo": "/public/uplaod/e68c8a09d29f97394b034760bcb05b8c-8c7dd922ad47494fc02c388e12c00eac.png",
"car_addtime": "2018-2-1 15:04:02",
"car_mark": "",
"car_hash": "76f6dd2a8e241cba2a48fb60a0eec4f7",
"machine_id": 11
}
],
"car_card_monthlist": [
"京NH26U8",
"赣KKA300",
"津KKA300",
"津KKA300"
],
"total_num": 10, //拍摄总数
"week_num": 2, //近7天拍摄列表
"month_num": 4, // 近30天拍摄列表
"total_find_num": 2, //找到总数
"week_find_num": 0, //近7天找到总数
"month_find_num": 1 //近30天找到总数
}
},
"msg": "数据获取成功",
"code": 1
}
<<<
error
{
"info": 0,
"msg": "设备错误",
"code": 0
}