请求例子:
apirq('merch/:merch_id/<locked>', {
method: "put",
data: {
"merch_id": "605dbe7cd0dfcd66",
"locked": "unlock"
},
urlparams: [
"merch_id",
"locked"
]
})
返回数据结果:
{
"code": 0,
"msg": "改锁成功~~",
"time": "1523521023",
"data": {
"merch_id": "605dbe7cd0dfcd66",
"code": "",
"locked": 0,
"type": 3,
"status": 1,
"regist_time": "2017-12-01 00:00",
"expiry_time": "2020-01-01 00:00",
"create_time": "2017-12-04 11:23:02",
"update_time": "2018-04-12 16:17:03",
"country_id": 0,
"province_id": 0,
"city_id": 0,
"district_id": 0,
"street_id": 0,
"lng": "0.000000",
"lat": "0.000000",
"merch_key": "8f5cbc742adbee4490821abef092653b",
"ip_whitelist": "",
"name": "内建商户标准",
"initials": "",
"english_name": "",
"contacts": "内建",
"mobile": "13800000000",
"email": "",
"tel": "",
"address": "成都一环路三段9号",
"description": "",
"remark": "系统内建其权限默认分享"
}
}