简要描述:

  • 定位充值活动-门店列表

请求域名:

  • http://xx.com

请求URL:

GET/plugin.store-oil-station.frontend.oil-store.index

参数:

参数名 是否必须 类型 说明
lng float 经度
lat float 纬度
city string 城市名称
name string 门店名称

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "store list",
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 8,
                "uniacid": 6,
                "uid": 2462,
                "store_name": "轻微的",
                "banner_thumb": "http://localhost/attachment/images/6/2018/04/yCfnKfcWicKXATi5fKI0watW8K0tz0.jpg",
                "thumb": "images/6/2021/12/mojian.jpg",
                "category_id": "11",
                "province_id": 440000,
                "city_id": 440100,
                "district_id": 440111,
                "street_id": 440111008,
                "address": "我的缺点",
                "longitude": "12",
                "latitude": "21",
                "mobile": "15012345678",
                "store_introduce": "213饿1",
                "template_id": "",
                "cashier_id": 176,
                "created_at": "2018-08-08 09:43:41",
                "business_hours_start": "01:04",
                "business_hours_end": "23:55",
                "affiche": "",
                "user_uid": 26,
                "is_black": 0,
                "information": "",
                "is_hide": 0,
                "specify_show": 0,
                "operating_state": 1,
                "audio_open": 0,
                "boss_uid": 0,
                "initials": "G",
                "validity": 0,
                "validity_status": 0,
                "other_imgs": null,
                "yun_horn": "",
                "zkc_pay": null,
                "salt": "AZNszpX9",
                "home_store_url": null,
                "goods_store_url": null,
                "collect_money_url": null,
                "payment_jump_minapp": null,
                "payment_jump_h5": null,
                "is_open_jump": 0,
                "separate_payment_jump_minapp": null,
                "separate_payment_jump_h5": null,
                "balance_id": 0,
                "distance": 2674399.5479099047,
                "activity": {
                    "name": "轻微的充值活动",
                    "code": "store-oil-station",
                    "desc": [
                        "活动时间:2024-05-14 00:00:00--2024-05-30 00:00:00"
                    ],
                    "value_type": "gift",
                    "value": [
                        "充值满¥50,赠送2元余额",
                        "充值满¥100,赠送20元余额",
                        "充值满¥100,赠送10元加油金",
                        "充值满¥1000,赠送20元加油金"
                    ]
                },
                "full_address": "广东省 广州市 白云区 新市街道 我的缺点",
                "oil_switch": 1,
                "balance_activity_switch": 1,
                "purview": {
                    "hide_phone": 1,
                    "hide_plate_number": 1
                },
                "oil_code": "CS123456789"
            }
        ],
        "last_page": 3,
        "per_page": 1,
        "total": 3
    }
}

错误时返回:


返回参数说明:

参数名 类型 说明
id int 门店ID
sotre_name string 门店名称
thumb string 门店图片
full_address string 门店地址
longitude string 经度
latitude string 纬度
distance string 距离
activity array 门店活动

备注:

  • 更多返回错误代码请看首页的错误代码描述