##订单金额数量统计接口
+++
post:/index/Index/statisticsOrderByUser
*int:user_id=2#用户id
int:role=1#角色状态 (1表示大区经理角色,0表示普通用户)
<<<
success
{
"info": {
"total_num": 7, //总订单数量
"order_num_status1": 2, //已接单数量
"order_num_status2": 1, 已分配订单数量
"order_num_status4": 4, 已完成订单数量
"total_money": 748631063 已完成总金额
"0": {
"single_id": "57",
"single_order": "89",
"single_addtime": "2018-01-18 02:17:51",
"single_uid": "15",
"assign_id": "14",
"ex_oid": "89",
"ex_fid": "215",
"ex_money": "112233",
"ex_overdue": "1",
"ex_term_day": "1534176000",
"ex_term": "132554322611269",
"ex_location": null,
"ex_position": null,
"ex_virecord": "是",
"ex_gps": "是",
"ex_addtime": "2018-01-18 01:47:49",
"ex_update": "2018-01-18 01:47:49",
"ex_uid": "6",
"ex_order": "2018011853100561",
"ex_leavel": "3",
"ex_status": "2",
"find_id": null,
"card_brand": null,
"card_model": null,
"card_color": null,
"card_contract": null,
"card_img1": null,
"card_img2": null,
"card_city": null,
"card_number": null,
"card_addtime": null,
"card_uid": null,
"card_order": null,
"card_server": null,
"car_hash": null,
"car_status": null,
"card_cardata": null,
"car_ass_id": null
},
"1": {
"single_id": "56",
"single_order": "91",
"single_addtime": "2018-01-18 02:05:53",
"single_uid": "15",
"assign_id": "14",
"ex_oid": "91",
"ex_fid": "219",
"ex_money": "747385742",
"ex_overdue": "1",
"ex_term_day": "1534176000",
"ex_term": "132554322612305",
"ex_location": "佳木斯市",
"ex_position": null,
"ex_virecord": "是",
"ex_gps": "是",
"ex_addtime": "2018-01-18 02:05:05",
"ex_update": "2018-01-18 02:05:05",
"ex_uid": "6",
"ex_order": "2018011849504955",
"ex_leavel": null,
"ex_status": "4",
"find_id": null,
"card_brand": null,
"card_model": null,
"card_color": null,
"card_contract": null,
"card_img1": null,
"card_img2": null,
"card_city": null,
"card_number": null,
"card_addtime": null,
"card_uid": null,
"card_order": null,
"card_server": null,
"car_hash": null,
"car_status": null,
"card_cardata": null,
"car_ass_id": null
},
"2": {
"single_id": "58",
"single_order": "92",
"single_addtime": "2018-01-18 02:27:47",
"single_uid": "15",
"assign_id": null,
"ex_oid": "92",
"ex_fid": "220",
"ex_money": "22222",
"ex_overdue": "1",
"ex_term_day": "1534176000",
"ex_term": "132554322613512",
"ex_location": null,
"ex_position": null,
"ex_virecord": "是",
"ex_gps": "是",
"ex_addtime": "2018-01-18 02:25:12",
"ex_update": "2018-01-18 02:25:12",
"ex_uid": "6",
"ex_order": "2018011856514910",
"ex_leavel": "3",
"ex_status": "1",
"find_id": null,
"card_brand": null,
"card_model": null,
"card_color": null,
"card_contract": null,
"card_img1": null,
"card_img2": null,
"card_city": null,
"card_number": null,
"card_addtime": null,
"card_uid": null,
"card_order": null,
"card_server": null,
"car_hash": null,
"car_status": null,
"card_cardata": null,
"car_ass_id": null
},
"3": {
"single_id": "59",
"single_order": "93",
"single_addtime": "2018-01-18 03:51:04",
"single_uid": "15",
"assign_id": "14",
"ex_oid": "93",
"ex_fid": "223",
"ex_money": "1000",
"ex_overdue": "1",
"ex_term_day": "1534176000",
"ex_term": "132554322618629",
"ex_location": "重庆市",
"ex_position": null,
"ex_virecord": "是",
"ex_gps": "是",
"ex_addtime": "2018-01-18 03:50:29",
"ex_update": "2018-01-18 03:50:29",
"ex_uid": "6",
"ex_order": "2018011853100571",
"ex_leavel": "1",
"ex_status": "4",
"find_id": null,
"card_brand": null,
"card_model": null,
"card_color": null,
"card_contract": null,
"card_img1": null,
"card_img2": null,
"card_city": null,
"card_number": null,
"card_addtime": null,
"card_uid": null,
"card_order": null,
"card_server": null,
"car_hash": null,
"car_status": null,
"card_cardata": null,
"car_ass_id": null
},
"4": {
"single_id": "60",
"single_order": "95",
"single_addtime": "2018-01-18 08:18:48",
"single_uid": "15",
"assign_id": "14",
"ex_oid": "95",
"ex_fid": "229",
"ex_money": "1234321",
"ex_overdue": "1",
"ex_term_day": "1534262400",
"ex_term": "132561787594090",
"ex_location": "重庆市",
"ex_position": null,
"ex_virecord": "是",
"ex_gps": "是",
"ex_addtime": "2018-01-18 08:08:10",
"ex_update": "2018-01-18 08:08:10",
"ex_uid": "14",
"ex_order": "2018011897505649",
"ex_leavel": null,
"ex_status": "4",
"find_id": null,
"card_brand": null,
"card_model": null,
"card_color": null,
"card_contract": null,
"card_img1": null,
"card_img2": null,
"card_city": null,
"card_number": null,
"card_addtime": null,
"card_uid": null,
"card_order": null,
"card_server": null,
"car_hash": null,
"car_status": null,
"card_cardata": null,
"car_ass_id": null
},
"5": {
"single_id": "61",
"single_order": "100",
"single_addtime": "2018-01-18 09:48:44",
"single_uid": "15",
"assign_id": "14",
"ex_oid": "100",
"ex_fid": "236",
"ex_money": "10000",
"ex_overdue": "1",
"ex_term_day": "1534176000",
"ex_term": "132554322640037",
"ex_location": "天津市",
"ex_position": null,
"ex_virecord": "是",
"ex_gps": "是",
"ex_addtime": "2018-01-18 09:47:17",
"ex_update": "2018-01-18 09:47:17",
"ex_uid": "6",
"ex_order": "2018011853525648",
"ex_leavel": "3",
"ex_status": "4",
"find_id": null,
"card_brand": null,
"card_model": null,
"card_color": null,
"card_contract": null,
"card_img1": null,
"card_img2": null,
"card_city": null,
"card_number": null,
"card_addtime": null,
"card_uid": null,
"card_order": null,
"card_server": null,
"car_hash": null,
"car_status": null,
"card_cardata": null,
"car_ass_id": null
},
"6": {
"single_id": "62",
"single_order": "101",
"single_addtime": "2018-01-18 09:54:36",
"single_uid": "15",
"assign_id": null,
"ex_oid": "101",
"ex_fid": "239",
"ex_money": "40000",
"ex_overdue": "1",
"ex_term_day": "1534176000",
"ex_term": "132554322640450",
"ex_location": "天津市",
"ex_position": null,
"ex_virecord": "是",
"ex_gps": "是",
"ex_addtime": "2018-01-18 09:54:10",
"ex_update": "2018-01-18 09:54:10",
"ex_uid": "6",
"ex_order": "2018011850554898",
"ex_leavel": "3",
"ex_status": "1",
"find_id": "239",
"card_brand": "奔驰S 400 4MATIC(进口) 2017款 3.0T 手自一体",
"card_model": null,
"card_color": null,
"card_contract": "2018-08-14",
"card_img1": "/public_up/upload/18/01/2f245426a1b6ab38f166e1d3ff0b0cbe.jpg",
"card_img2": "/public_up/upload/18/01/107b293413d4b6e1f799465c12302788.jpg",
"card_city": "天津市",
"card_number": "京123564",
"card_addtime": "2018-01-18 09:54:08",
"card_uid": "6",
"card_order": "2018011848539849",
"card_server": null,
"car_hash": "4574416d7b35e2448cb07b1500e2c1a6",
"car_status": "1",
"card_cardata": null,
"car_ass_id": null
},
},
"msg": "获取订单列表成功",
"code": 1
}
<<<
error
~~~