请求例子:
apirq('merch/:merch_id', {
method: "delete",
data: {
"merch_id": "6c5e1518cc95ad15"
},
urlparams: [
"merch_id"
]
})
返回数据结果:
{
"code": 0,
"msg": "删除资源成功!",
"time": "1523519313",
"data": {
"merch_id": "6c5e1518cc95ad15",
"code": "M29778",
"locked": 1,
"type": 3,
"status": 1,
"regist_time": "1970-01-01 08:00",
"expiry_time": "1970-01-01 08:00",
"create_time": "2018-04-12 15:34:46",
"update_time": "2018-04-12 15:45:16",
"country_id": 0,
"province_id": 0,
"city_id": 0,
"district_id": 0,
"street_id": 0,
"lng": "0.000000",
"lat": "0.000000",
"merch_key": "",
"ip_whitelist": "",
"name": "新商户修改了",
"initials": "",
"english_name": "",
"contacts": "周小伦",
"mobile": "12312345678",
"email": "",
"tel": "",
"address": "权志龙",
"description": "",
"remark": ""
}
}