请求例子:
apirq('department/lgdpts')
返回数据结果:
{
"code": 0,
"msg": "ok",
"time": "1523595210",
"data": {
"page": 1,
"row": 15,
"count": 3,
"total_count": 3,
"total_page": 1,
"lists": [
{
"id": 1,
"dp_type": 1,
"dp_id": "1000000000000000",
"pid": 0,
"status": 1,
"bandel": 1,
"create_time": "2017-12-11 16:15:43",
"create_by": {
"uid": "0000000000000001",
"code": "U1000000",
"username": "administrator",
"nickname": "超级管理员",
"realname": "超级管理员"
},
"update_time": "2017-12-11 16:15:43",
"update_by": {
"uid": "0000000000000001",
"code": "U1000000",
"username": "administrator",
"nickname": "超级管理员",
"realname": "超级管理员"
},
"name": "管理部",
"description": "系统管理部门",
"orginfo": {
"sys_id": "1000000000000000",
"code": "S100000000",
"country_id": 1,
"province_id": 2,
"city_id": 2,
"district_id": 3,
"street_id": 1,
"lng": "2.000000",
"lat": "3.000000",
"name": "系统safd",
"initials": "xt",
"english_name": "system",
"address": "成都",
"contacts": "小小",
"mobile": "13412345678",
"tel": "",
"fax": "",
"email": "asdf@s.com",
"cover": "",
"picture_list": "",
"img_business_license": "",
"img_transport_license": "",
"img_corporation_idcard": "",
"description": "平台系统",
"remark": "",
"otype_name": "系统"
}
},
{
"id": 2,
"dp_type": 1,
"dp_id": "1000000000000000",
"pid": 0,
"status": 1,
"bandel": 1,
"create_time": "2017-12-11 16:15:43",
"create_by": {
"uid": "0000000000000001",
"code": "U1000000",
"username": "administrator",
"nickname": "超级管理员",
"realname": "超级管理员"
},
"update_time": "2017-12-11 16:15:43",
"update_by": {
"uid": "0000000000000001",
"code": "U1000000",
"username": "administrator",
"nickname": "超级管理员",
"realname": "超级管理员"
},
"name": "财务部",
"description": "系统财务部门",
"orginfo": {
"sys_id": "1000000000000000",
"code": "S100000000",
"country_id": 1,
"province_id": 2,
"city_id": 2,
"district_id": 3,
"street_id": 1,
"lng": "2.000000",
"lat": "3.000000",
"name": "系统safd",
"initials": "xt",
"english_name": "system",
"address": "成都",
"contacts": "小小",
"mobile": "13412345678",
"tel": "",
"fax": "",
"email": "asdf@s.com",
"cover": "",
"picture_list": "",
"img_business_license": "",
"img_transport_license": "",
"img_corporation_idcard": "",
"description": "平台系统",
"remark": "",
"otype_name": "系统"
}
},
{
"id": 3,
"dp_type": 1,
"dp_id": "1000000000000000",
"pid": 0,
"status": 1,
"bandel": 1,
"create_time": "2017-12-11 16:15:43",
"create_by": {
"uid": "0000000000000001",
"code": "U1000000",
"username": "administrator",
"nickname": "超级管理员",
"realname": "超级管理员"
},
"update_time": "2018-03-22 15:51:14",
"update_by": {
"uid": "0000000000000001",
"code": "U1000000",
"username": "administrator",
"nickname": "超级管理员",
"realname": "超级管理员"
},
"name": "运营部",
"description": "系统运营部门",
"orginfo": {
"sys_id": "1000000000000000",
"code": "S100000000",
"country_id": 1,
"province_id": 2,
"city_id": 2,
"district_id": 3,
"street_id": 1,
"lng": "2.000000",
"lat": "3.000000",
"name": "系统safd",
"initials": "xt",
"english_name": "system",
"address": "成都",
"contacts": "小小",
"mobile": "13412345678",
"tel": "",
"fax": "",
"email": "asdf@s.com",
"cover": "",
"picture_list": "",
"img_business_license": "",
"img_transport_license": "",
"img_corporation_idcard": "",
"description": "平台系统",
"remark": "",
"otype_name": "系统"
}
}
]
}
}