请求例子:
apirq('company', {
method: "post",
data: {
"join_type": 1,
"name": "测试一个机构",
"contacts": "小李",
"mobile": "13212345678"
}
})
返回数据结果:
{
"code": 0,
"msg": "数据添加成功!",
"time": "1523524750",
"data": {
"com_id": "17c948c2d66a9ba5",
"code": "C46221",
"merch_credential": "c17ec996d3ffc85f",
"join_type": 1,
"pid": "",
"status": 1,
"create_time": "2018-04-12 17:19:10",
"create_by": {
"uid": "0000000000000001",
"code": "U1000000",
"username": "administrator",
"nickname": "超级管理员",
"realname": "超级管理员"
},
"update_time": "2018-04-12 17:19:10",
"update_by": {
"uid": "0000000000000001",
"code": "U1000000",
"username": "administrator",
"nickname": "超级管理员",
"realname": "超级管理员"
},
"delete_time": null,
"runin_time": "2018-04-12 17:19:10",
"runout_time": "2019-04-12 17:19:10",
"country_id": 1,
"province_id": 0,
"city_id": 0,
"district_id": 0,
"street_id": 0,
"lng": "0.000000",
"lat": "0.000000",
"joining_fee": "0.00",
"name": "测试一个机构",
"initials": "csygjg",
"english_name": "",
"address": "",
"contacts": "小李",
"mobile": "13212345678",
"tel": "",
"fax": "",
"email": "",
"cover": "",
"picture_list": "",
"img_business_license": "",
"img_transport_license": "",
"img_corporation_idcard": "",
"description": "",
"remark": ""
}
}