##设备统计
+++
post:/index.php/api/Machines/statisticsMachine
*int:role=1#大区经理角色
*int:uid=1#大区经理id
<<<
success
{
"info": {
"machine_list": { 设备列表
"1": {
"id": 1,
"account": "wuwei01",
"password": "d93a5def7511da3d0f2d171d9c344e91",
"uid": 11,
"status": 1, //1表示有效,2表示无效
"is_login":1 //1表示已经登录,0表示未登录
"mark":奈落!//备注
"create_time": 1517557959,
"update_time": 1517557959,
"car_id": null,
"car_card": null,
"car_location": null,
"car_photo": null,
"car_addtime": null,
"car_mark": null,
"car_hash": null,
"machine_id": null
},
"3": {
"id": 3,
"account": "wuwei03",
"password": "123456",
"uid": 11,
"status": 0,
"mark": null,
"create_time": 1517557970,
"update_time": 1517557970,
"car_id": null,
"car_card": null,
"car_location": null,
"car_photo": null,
"car_addtime": null,
"car_mark": null,
"car_hash": null,
"machine_id": null
}
},
"machine_num": 7, 设备总数,
"statistics_machine": {
"total_find_num": 2, 完成总数
"week_find_num": 0, 近7天完成总数
"month_find_num": 1, 近30天完成总数
"total_num": 14, 拍摄总数
"week_num": 2, 近7天拍摄总数
"month_num": 4 近30天拍摄总数
"list": [
{
"id": 11,
"account": "zjsf02",
"password": "d93a5def7511da3d0f2d171d9c344e91",
"uid": 11,
"status": 1,
"create_time": 1517797534,
"update_time": 1517797534,
"car_id": 5,
"car_card": "京Y8Q668",
"car_location": "北京市朝阳区屏翠东路8号靠近锐创国际中心B座",
"car_photo": "/public/uplaod/486bfe23c938d25e9cef88bd9c5a4339-8c7dd922ad47494fc02c388e12c00eac.png",
"car_addtime": "2017-11-30 16:20:38",
"car_mark": "",
"car_hash": "b62f55c519bf509a15f85c72462615d2",
"machine_id": 11
},
{
"id": 11,
"account": "zjsf02",
"password": "d93a5def7511da3d0f2d171d9c344e91",
"uid": 11,
"status": 1,
"create_time": 1517797534,
"update_time": 1517797534,
"car_id": 7,
"car_card": "京Y8Q668",
"car_location": "北京市朝阳区屏翠东路8号靠近锐创国际中心B座",
"car_photo": "/public/uplaod/41e80c0580cad46840ad1f1030961896-8c7dd922ad47494fc02c388e12c00eac.png",
"car_addtime": "2017-11-30 17:53:42",
"car_mark": "",
"car_hash": "b62f55c519bf509a15f85c72462615d2",
"machine_id": 11
},
{
"id": 11,
"account": "zjsf02",
"password": "d93a5def7511da3d0f2d171d9c344e91",
"uid": 11,
"status": 1,
"create_time": 1517797534,
"update_time": 1517797534,
"car_id": 9,
"car_card": "京J90000",
"car_location": "北京市朝阳区甜水园街6号靠近上海浦东发展银行(北京金台路支行)",
"car_photo": "/public/uplaod/fc91b62348aedf6d1d52c9044b617763-8c7dd922ad47494fc02c388e12c00eac.png",
"car_addtime": "2017-12-09 12:06:20",
"car_mark": "",
"car_hash": "adacc2b88e8bfdf288d72d7f05777339",
"machine_id": 11
},
{
"id": 11,
"account": "zjsf02",
"password": "d93a5def7511da3d0f2d171d9c344e91",
"uid": 11,
"status": 1,
"create_time": 1517797534,
"update_time": 1517797534,
"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
},
{
"id": 11,
"account": "zjsf02",
"password": "d93a5def7511da3d0f2d171d9c344e91",
"uid": 11,
"status": 1,
"create_time": 1517797534,
"update_time": 1517797534,
"car_id": 4,
"car_card": "津KKA300",
"car_location": "北京市朝阳区屏翠东路8号靠近锐创国际中心B座",
"car_photo": "/public/uplaod/e76489901311d4e6df32570799d5daab-8c7dd922ad47494fc02c388e12c00eac.png",
"car_addtime": "2018-01-10 16:03:15",
"car_mark": "",
"car_hash": "598c2691ba1cd00862ddfe25dd6310d8",
"machine_id": 11
},
{
"id": 11,
"account": "zjsf02",
"password": "d93a5def7511da3d0f2d171d9c344e91",
"uid": 11,
"status": 1,
"create_time": 1517797534,
"update_time": 1517797534,
"car_id": 6,
"car_card": "赣KKA300",
"car_location": "北京市朝阳区屏翠东路8号靠近锐创国际中心B座",
"car_photo": "/public/uplaod/3b24f9cb5cdbd4af3965f732c7493278-8c7dd922ad47494fc02c388e12c00eac.png",
"car_addtime": "2017-11-30 17:46:55",
"car_mark": "",
"car_hash": "76f6dd2a8e241cba2a48fb60a0eec4f7",
"machine_id": 11
},
{
"id": 11,
"account": "zjsf02",
"password": "d93a5def7511da3d0f2d171d9c344e91",
"uid": 11,
"status": 1,
"create_time": 1517797534,
"update_time": 1517797534,
"car_id": 8,
"car_card": "京456GH",
"car_location": "北京市朝阳区甜水园街6号靠近上海浦东发展银行(北京金台路支行)",
"car_photo": "/public/uplaod/fc91b62348aedf6d1d52c9044b617763-8c7dd922ad47494fc02c388e12c00eac.png",
"car_addtime": "2017-12-09 10:29:47",
"car_mark": "",
"car_hash": "1a4d15b8ed147d84b9e84ef4d771fabc",
"machine_id": 11
},
{
"id": 11,
"account": "zjsf02",
"password": "d93a5def7511da3d0f2d171d9c344e91",
"uid": 11,
"status": 1,
"create_time": 1517797534,
"update_time": 1517797534,
"car_id": 10,
"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
},
{
"id": 11,
"account": "zjsf02",
"password": "d93a5def7511da3d0f2d171d9c344e91",
"uid": 11,
"status": 1,
"create_time": 1517797534,
"update_time": 1517797534,
"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
},
{
"id": 11,
"account": "zjsf02",
"password": "d93a5def7511da3d0f2d171d9c344e91",
"uid": 11,
"status": 1,
"create_time": 1517797534,
"update_time": 1517797534,
"car_id": 3,
"car_card": "津KKA300",
"car_location": "北京市朝阳区屏翠东路8号靠近锐创国际中心B座",
"car_photo": "/public/uplaod/84cad8c7717c3c540f46c0aa8767b6af-8c7dd922ad47494fc02c388e12c00eac.png",
"car_addtime": "2018-01-12 15:04:03",
"car_mark": "",
"car_hash": "598c2691ba1cd00862ddfe25dd6310d8",
"machine_id": 11
},
{
"id": 10,
"account": "zjsf011",
"password": "123456",
"uid": 11,
"status": 0,
"create_time": 1517793232,
"update_time": 1517808970,
"car_id": 11,
"car_card": "苏EG08P9",
"car_location": "北京市朝阳区芳草地西街23号靠近陈经纶中学",
"car_photo": "/public/uplaod/4f8c7b9b33d2f133a9221e977cef4fcb-8c7dd922ad47494fc02c388e12c00eac.png",
"car_addtime": "2017-12-12 13:07:05",
"car_mark": "",
"car_hash": "b3b65eeac67566bd72c3865f0674ab18",
"machine_id": 10
},
{
"id": 10,
"account": "zjsf011",
"password": "123456",
"uid": 11,
"status": 0,
"create_time": 1517793232,
"update_time": 1517808970,
"car_id": 13,
"car_card": "冀KKA300",
"car_location": "北京市朝阳区屏翠东路8号靠近锐创国际中心B座",
"car_photo": "/public/uplaod/f5653aaad9fb39627ce389ca4e3b76ae-8c7dd922ad47494fc02c388e12c00eac.png",
"car_addtime": "2017-12-14 14:35:43",
"car_mark": "",
"car_hash": "d16a24ac7e08b8d67887af46a7e3efe7",
"machine_id": 10
},
{
"id": 10,
"account": "zjsf011",
"password": "123456",
"uid": 11,
"status": 0,
"create_time": 1517793232,
"update_time": 1517808970,
"car_id": 12,
"car_card": "粤S30000",
"car_location": "北京市朝阳区芳草地西巷11-号楼靠近北京怡亨酒店",
"car_photo": "/public/uplaod/f862e545d3d49e9909500f5335affff4-8c7dd922ad47494fc02c388e12c00eac.png",
"car_addtime": "2017-12-12 13:13:41",
"car_mark": "",
"car_hash": "5bbaf0a67e415b1239ca0c1c7460398e",
"machine_id": 10
},
{
"id": 10,
"account": "zjsf011",
"password": "123456",
"uid": 11,
"status": 0,
"create_time": 1517793232,
"update_time": 1517808970,
"car_id": 14,
"car_card": "津KKA300",
"car_location": "北京市朝阳区屏翠东路8号靠近锐创国际中心B座",
"car_photo": "/public/uplaod/f5653aaad9fb39627ce389ca4e3b76ae-8c7dd922ad47494fc02c388e12c00eac.png",
"car_addtime": "2017-12-14 14:35:44",
"car_mark": "",
"car_hash": "598c2691ba1cd00862ddfe25dd6310d8",
"machine_id": 10
}
],
"car_card_list": [
"京Y8Q668",
"京Y8Q668",
"京J90000",
"赣KKA300",
"津KKA300",
"赣KKA300",
"京456GH",
"京N865H8",
"京NH26U8",
"津KKA300",
"苏EG08P9",
"冀KKA300",
"粤S30000",
"津KKA300"
],
"week_list": [
{
"id": 11,
"account": "zjsf02",
"password": "d93a5def7511da3d0f2d171d9c344e91",
"uid": 11,
"status": 1,
"create_time": 1517797534,
"update_time": 1517797534,
"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
},
{
"id": 11,
"account": "zjsf02",
"password": "d93a5def7511da3d0f2d171d9c344e91",
"uid": 11,
"status": 1,
"create_time": 1517797534,
"update_time": 1517797534,
"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_card_weeklist": [
"赣KKA300",
"京NH26U8"
],
"month_list": [
{
"id": 11,
"account": "zjsf02",
"password": "d93a5def7511da3d0f2d171d9c344e91",
"uid": 11,
"status": 1,
"create_time": 1517797534,
"update_time": 1517797534,
"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
},
{
"id": 11,
"account": "zjsf02",
"password": "d93a5def7511da3d0f2d171d9c344e91",
"uid": 11,
"status": 1,
"create_time": 1517797534,
"update_time": 1517797534,
"car_id": 4,
"car_card": "津KKA300",
"car_location": "北京市朝阳区屏翠东路8号靠近锐创国际中心B座",
"car_photo": "/public/uplaod/e76489901311d4e6df32570799d5daab-8c7dd922ad47494fc02c388e12c00eac.png",
"car_addtime": "2018-01-10 16:03:15",
"car_mark": "",
"car_hash": "598c2691ba1cd00862ddfe25dd6310d8",
"machine_id": 11
},
{
"id": 11,
"account": "zjsf02",
"password": "d93a5def7511da3d0f2d171d9c344e91",
"uid": 11,
"status": 1,
"create_time": 1517797534,
"update_time": 1517797534,
"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
},
{
"id": 11,
"account": "zjsf02",
"password": "d93a5def7511da3d0f2d171d9c344e91",
"uid": 11,
"status": 1,
"create_time": 1517797534,
"update_time": 1517797534,
"car_id": 3,
"car_card": "津KKA300",
"car_location": "北京市朝阳区屏翠东路8号靠近锐创国际中心B座",
"car_photo": "/public/uplaod/84cad8c7717c3c540f46c0aa8767b6af-8c7dd922ad47494fc02c388e12c00eac.png",
"car_addtime": "2018-01-12 15:04:03",
"car_mark": "",
"car_hash": "598c2691ba1cd00862ddfe25dd6310d8",
"machine_id": 11
}
],
"car_card_monthlist": [
"赣KKA300",
"津KKA300",
"京NH26U8",
"津KKA300"
],
}
},
"msg": "获取统计数据成功",
"code": 1
}
<<<
error
{
"info": 0,
"msg": "获取失败",
"code": 0
}
~~~