简要描述:
请求域名:
- http://xx.com
请求URL:
route=plugin.coupon-store.frontend.store.storeDetail
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
store_id | 是 | int | 商户ID |
返回示例:
正确时返回:
{
"result": 1,
"msg": "成功",
"data": {
"store_name": "测试门店1",
"address": "测试地址",
"longitude": "113.155300",
"latitude": "23.063200",
"work_week": [
"1",
"2"
],
"store_mobile": "13711106018",
"store_desc": "哈哈啊哈哈哈啊啊哈哈",
"store_detail": "<p>fwgwgwgw</p>\n<p> </p>\n<p> </p>\n<p>否是否平均分</p>\n<p>发文批复后</p>\n<p style=\"margin: 0;\"><img style=\"max-width: 100%; vertical-align: middle;\" src=\"http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/5d5feaadb110164c2aa168ec76c677a1.jpg\" /></p>",
"average_price": "99.00",
"customer_text": "发给我给我个",
"customer_mini_url": "/packageB/member/Integral_love/Integral_love ",
"work_start_time_str": "00:00",
"work_end_time_str": "23:59",
"province": "广东省",
"city": "广州市",
"district": "白云区",
"street": "三元里街道",
"first_category": "分类1",
"second_category": "分类1-1",
"third_category": "分类1-1-1",
"store_logo_url": "https://img2.woyaogexing.com/2022/05/17/baa7ddd4e31140839576d3221badd35d!400x400.jpeg",
"store_banner_url": "https://img2.woyaogexing.com/2022/05/17/b2ab0a1bd3ce43b08f7271c10ced152e!400x400.jpeg",
"customer_code_url": "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/4863b19849a289c6b7676cff8fb5a7d7.jpg",
"store_pics": [
"https://img2.woyaogexing.com/2022/05/17/fab0270a29f444828c26f898ef616ca5!400x400.jpeg",
"https://img2.woyaogexing.com/2022/05/17/fab0270a29f444828c26f898ef616ca5!400x400.jpeg",
"https://img2.woyaogexing.com/2022/05/17/fab0270a29f444828c26f898ef616ca5!400x400.jpeg",
"https://img2.woyaogexing.com/2022/05/17/fab0270a29f444828c26f898ef616ca5!400x400.jpeg",
"https://img2.woyaogexing.com/2022/05/17/fab0270a29f444828c26f898ef616ca5!400x400.jpeg"
]
}
}
错误时返回:
{
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
名称 | 类型 | 说明 |
data.store_name | string | 商户名 |
data.address | string | 商户详细地址(不包含省市区街道) |
data.province | string | 省 |
data.city | string | 市 |
data.district | string | 区 |
data.street | string | 街道 |
data.longitude | string | 商户经度 |
data.longitude | string | 商户纬度 |
data.work_week | arr | 营业日(1-7分别代表周一到周日) |
data.store_mobile | string | 商户联系电话 |
data.store_mobile | string | 商户联系电话 |
data.store_detail | string | 探店详情,富文本 |
data.average_price | float | 人均价 |
data.customer_text | float | 咨询文本 |
data.customer_code_url | float | 咨询二维码 |
data.customer_mini_url | float | 咨询跳转小程序路径 |
data.work_start_time_str | string | 营业开始时间 |
data.work_end_time_str | string | 营业结束时间 |
data.first_category | string | 一级分类 |
data.second_category | string | 二级分类 |
data.third_category | string | 三级分类 |
data.store_logo_url | string | 商户logo |
data.store_banner_url | string | 商户banner |
data.store_desc | string | 商户简介,富文本 |
data.store_pics | arr | 商家资质图片 |