请求例子:
apirq('department', {
data: {
"dp_type": 3,
"dp_id": "05d48fa8743570b0"
}
})
返回数据结果:
{
"code": 0,
"msg": "ok",
"time": "1523595976",
"data": {
"page": 1,
"row": 15,
"count": 3,
"total_count": 3,
"total_page": 1,
"lists": [
{
"id": 44,
"dp_type": 3,
"dp_id": "05d48fa8743570b0",
"pid": 0,
"status": 1,
"bandel": 0,
"create_time": "2018-03-27 13:27:06",
"create_by": {
"uid": "0000000000000101",
"code": "U4219695",
"username": "admin@cw",
"nickname": "系统内建财务员",
"realname": "系统内建财务员"
},
"update_time": "2018-03-27 13:27:06",
"update_by": {
"uid": "0000000000000101",
"code": "U4219695",
"username": "admin@cw",
"nickname": "系统内建财务员",
"realname": "系统内建财务员"
},
"name": "管理部",
"description": "天天向上机构管理部门",
"orginfo": {
"com_id": "05d48fa8743570b0",
"code": "C57732",
"merch_credential": "c17ec996d3ffc85f",
"join_type": 1,
"pid": "",
"status": 1,
"create_time": "2018-03-27 13:27:06",
"create_by": {
"uid": "0000000000000101",
"code": "U4219695",
"username": "admin@cw",
"nickname": "系统内建财务员",
"realname": "系统内建财务员"
},
"update_time": "2018-03-27 14:51:10",
"update_by": {
"uid": "0000000000000101",
"code": "U4219695",
"username": "admin@cw",
"nickname": "系统内建财务员",
"realname": "系统内建财务员"
},
"delete_time": null,
"runin_time": "-",
"runout_time": "-",
"country_id": 1,
"province_id": 0,
"city_id": 0,
"district_id": 0,
"street_id": 0,
"lng": "104.062087",
"lat": "30.665243",
"joining_fee": "0.00",
"name": "天天向上2",
"initials": "ttxs",
"english_name": "The day is up 2",
"address": "四川省成都市青羊区西御河街道大树拐街15号五福街56号院",
"contacts": "李白",
"mobile": "13212345678",
"tel": "0281324567",
"fax": "0281234564",
"email": "",
"cover": "",
"picture_list": "",
"img_business_license": "",
"img_transport_license": "",
"img_corporation_idcard": "",
"description": "中国人民伙历地有",
"remark": "",
"otype_name": "机构"
}
},
{
"id": 45,
"dp_type": 3,
"dp_id": "05d48fa8743570b0",
"pid": 0,
"status": 1,
"bandel": 0,
"create_time": "2018-03-27 13:27:07",
"create_by": {
"uid": "0000000000000101",
"code": "U4219695",
"username": "admin@cw",
"nickname": "系统内建财务员",
"realname": "系统内建财务员"
},
"update_time": "2018-03-27 13:27:07",
"update_by": {
"uid": "0000000000000101",
"code": "U4219695",
"username": "admin@cw",
"nickname": "系统内建财务员",
"realname": "系统内建财务员"
},
"name": "财务部",
"description": "天天向上机构财务部门",
"orginfo": {
"com_id": "05d48fa8743570b0",
"code": "C57732",
"merch_credential": "c17ec996d3ffc85f",
"join_type": 1,
"pid": "",
"status": 1,
"create_time": "2018-03-27 13:27:06",
"create_by": {
"uid": "0000000000000101",
"code": "U4219695",
"username": "admin@cw",
"nickname": "系统内建财务员",
"realname": "系统内建财务员"
},
"update_time": "2018-03-27 14:51:10",
"update_by": {
"uid": "0000000000000101",
"code": "U4219695",
"username": "admin@cw",
"nickname": "系统内建财务员",
"realname": "系统内建财务员"
},
"delete_time": null,
"runin_time": "-",
"runout_time": "-",
"country_id": 1,
"province_id": 0,
"city_id": 0,
"district_id": 0,
"street_id": 0,
"lng": "104.062087",
"lat": "30.665243",
"joining_fee": "0.00",
"name": "天天向上2",
"initials": "ttxs",
"english_name": "The day is up 2",
"address": "四川省成都市青羊区西御河街道大树拐街15号五福街56号院",
"contacts": "李白",
"mobile": "13212345678",
"tel": "0281324567",
"fax": "0281234564",
"email": "",
"cover": "",
"picture_list": "",
"img_business_license": "",
"img_transport_license": "",
"img_corporation_idcard": "",
"description": "中国人民伙历地有",
"remark": "",
"otype_name": "机构"
}
},
{
"id": 46,
"dp_type": 3,
"dp_id": "05d48fa8743570b0",
"pid": 0,
"status": 1,
"bandel": 0,
"create_time": "2018-03-27 13:27:07",
"create_by": {
"uid": "0000000000000101",
"code": "U4219695",
"username": "admin@cw",
"nickname": "系统内建财务员",
"realname": "系统内建财务员"
},
"update_time": "2018-03-27 13:27:07",
"update_by": {
"uid": "0000000000000101",
"code": "U4219695",
"username": "admin@cw",
"nickname": "系统内建财务员",
"realname": "系统内建财务员"
},
"name": "运营部",
"description": "天天向上机构运营部门",
"orginfo": {
"com_id": "05d48fa8743570b0",
"code": "C57732",
"merch_credential": "c17ec996d3ffc85f",
"join_type": 1,
"pid": "",
"status": 1,
"create_time": "2018-03-27 13:27:06",
"create_by": {
"uid": "0000000000000101",
"code": "U4219695",
"username": "admin@cw",
"nickname": "系统内建财务员",
"realname": "系统内建财务员"
},
"update_time": "2018-03-27 14:51:10",
"update_by": {
"uid": "0000000000000101",
"code": "U4219695",
"username": "admin@cw",
"nickname": "系统内建财务员",
"realname": "系统内建财务员"
},
"delete_time": null,
"runin_time": "-",
"runout_time": "-",
"country_id": 1,
"province_id": 0,
"city_id": 0,
"district_id": 0,
"street_id": 0,
"lng": "104.062087",
"lat": "30.665243",
"joining_fee": "0.00",
"name": "天天向上2",
"initials": "ttxs",
"english_name": "The day is up 2",
"address": "四川省成都市青羊区西御河街道大树拐街15号五福街56号院",
"contacts": "李白",
"mobile": "13212345678",
"tel": "0281324567",
"fax": "0281234564",
"email": "",
"cover": "",
"picture_list": "",
"img_business_license": "",
"img_transport_license": "",
"img_corporation_idcard": "",
"description": "中国人民伙历地有",
"remark": "",
"otype_name": "机构"
}
}
]
}
}