简要描述:

  • 周边游--通过商品id获取所有店铺

请求URL:

GET/route=plugin.travel-around.frontend.goods.goods.getShopAddressByGoods&goods_id=3763
参数名 类型 说明 必传
goods_id int 商品id
longitude float 经度
latitude float 维度
name string 店铺名称

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "",
    "data": [
        {
            "id": 17,
            "uniacid": null,
            "goods_id": 3763,
            "yz_goods_id": 42559,
            "shop_address_id": 499995,
            "name": "GODIVA夹心冰淇淋",
            "address": "四川省成都市锦江区GODIVA夹心冰淇淋",
            "phoneNumber": "028123456",
            "latitude": 30.657689,
            "longitude": 104.080989,
            "created_at": "2022-09-15 10:14:08",
            "updated_at": "2022-09-15 10:19:16",
            "deleted_at": null,
            "distance": 11350822.43996898
        }
    ]
}

data:

参数名 类型 说明
name string 店铺名称
address string 店铺地址
phoneNumber string 联系方式
latitude float 经纬度
longitude float 经纬度
distance float 距离米