API接口文档

门店搜索 - 数据列表

创建于 2022-02-16 / 最近更新于 2022-02-21 / 308
字体: [默认] [大] [更大]

简要描述

门店搜索 - 数据列表

接口版本

版本号 制定人 制定日期 修订日期
1.0.0 Devil 2020-09-29

请求URL

plugins/index&pluginsname=realstore&pluginscontrol=search&pluginsaction=datalist

请求方式

POST

公共参数

参数名 是否必须 类型 默认值 描述
application string web 请求应用、参考公共中详解
application_client_type string pc 请求客户端、参考公共中详解
token string token

请求参数

{
    "page": 1,
    "keywords": "",
    "category_id": 0,
    "lng": 0,
    "lat": 0
}
参数名 是否必须 类型 默认值 描述
page int 分页值
category_id int 分类id(0则全部)
keywords int 搜索关键字
lng int 经度
lat int 纬度

返回示例

正确时返回

{
    "msg": "处理成功",
    "code": 0,
    "data": {
        "page_total": 1,
        "total": 1,
        "data": [
            {
                "id": "1",
                "user_id": "1",
                "status": "2",
                "logo": "https://d1.shopxo.vip/static/upload/images/plugins_realstore/user_realstore/1/2022/02/13/1644758558369392.jpg",
                "logo_long": "https://d1.shopxo.vip/static/upload/images/plugins_realstore/user_realstore/1/2022/02/13/1644758569872242.png",
                "banner": "",
                "name": "ShopXO测试门店",
                "alias": "浦江万达",
                "describe": "我们专注提供专业的软件产品和技术。为合作伙伴提供安全可靠的软件产品与解决方案,共同帮助终端用户实现业务创新、快速发展。",
                "category_id": "1",
                "expire_time": "0",
                "is_cash_collect": "1",
                "service_weixin_qrcode": "https://d1.shopxo.vip/static/upload/images/plugins_realstore/user_realstore/1/2022/02/13/1644758615931487.jpg",
                "service_qq": "386392432",
                "service_tel": "13222222222",
                "open_week": "0",
                "close_week": "6",
                "open_time": "05:00",
                "close_time": "23:30",
                "contacts_name": "devil",
                "contacts_tel": "13222222222",
                "province": "9",
                "city": "152",
                "county": "1896",
                "address": "浦江科技广场",
                "lng": "121.5140560000",
                "lat": "31.1023570000",
                "auth_type": "1",
                "fail_reason": "",
                "buy_use_type_list": [
                    {
                        "name": "在店",
                        "index": 0,
                        "value": 3,
                        "realstore": 4
                    },
                    {
                        "name": "自提",
                        "index": 1,
                        "value": 2,
                        "realstore": 1
                    },
                    {
                        "name": "外送",
                        "index": 2,
                        "value": 0,
                        "realstore": 2
                    },
                    {
                        "name": "快递",
                        "index": 3,
                        "value": 0,
                        "realstore": 0
                    }
                ],
                "starting_price": "0.00",
                "seo_title": "",
                "seo_keywords": "",
                "seo_desc": "",
                "add_time": "2021-12-24 13:07:08",
                "upd_time": "2022-02-13 21:35:13",
                "status_name": "已审核",
                "url": "https://d1.shopxo.vip/plugins/index/pluginsname/realstore/pluginscontrol/index/pluginsaction/detail/id/1.html",
                "province_name": "上海市",
                "city_name": "闵行区",
                "county_name": "浦江镇",
                "goods_count": 12,
                "auth_type_name": "企业",
                "category_name": "默认分类",
                "expire_time_text": "永久",
                "open_week_name": "周一",
                "close_week_name": "周日",
                "status_info": {
                    "status": 1,
                    "msg": "营业中",
                    "time": "05:00 ~ 23:30(周一至周日)"
                },
                "distance": ""
            }
        ]
    }
}

错误时返回

{
    "msg": "error",
    "code": -1,
    "data": []
}

返回参数说明 -> data

参数名 是否必须 类型 描述
page_total int 分页总数
total int 数据总数
data array 数据列表

备注

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

0 人点赞过