请求例子:
apirq('company/:com_id', {
method: "put",
data: {
"com_id": "17c948c2d66a9ba5",
"join_type": 1,
"name": "测试一个机33构",
"contacts": "小3李",
"mobile": "13212345678"
},
urlparams: [
"com_id"
]
})
返回数据结果:
{
"code": 0,
"msg": "更新成功!",
"time": "1523528941",
"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": "0000000000000001",
"update_time": "2018-04-12 18:29:02",
"update_by": "0000000000000001",
"delete_time": null,
"runin_time": "2018-04-12 18:29:02",
"runout_time": "2019-04-12 18:29:02",
"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": "测试一个机33构",
"initials": "csygj",
"english_name": "",
"address": "",
"contacts": "小3李",
"mobile": "13212345678",
"tel": "",
"fax": "",
"email": "",
"cover": "",
"picture_list": "",
"img_business_license": "",
"img_transport_license": "",
"img_corporation_idcard": "",
"description": "",
"remark": ""
}
}