API接口文档

门店首页

创建于 2022-02-21 / 最近更新于 2022-02-21 / 143

简要描述

门店首页

接口版本

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

请求URL

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

请求方式

POST

公共参数

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

请求参数

{
    "lng": 0,
    "lat": 0
}
参数名 是否必须 类型 默认值 描述
lng int 经度
lat int 纬度

返回示例

正确时返回

{
    "msg": "success",
    "code": 0,
    "data": {
        "base": {
            "application_name": "",
            "realstore_banner_default": "0",
            "seller_agreement": [
                "入驻协议入驻协议入驻协议\r",
                "入驻协议入驻协议\r",
                "入驻协议入驻协议\r",
                "入驻协议入驻协议入驻协议\r",
                "入驻协议入驻协议\r",
                "入驻协议入驻协议入驻协议入驻协议"
            ],
            "seller_center_notice": [
                "门店中心通知门店中心通知"
            ],
            "seller_center_not_tips": [],
            "staff_add_sms_template": "SMS_212630084",
            "staff_add_email_template": "入职绑定验证码:#code#",
            "sms_sign": "ShopXO",
            "sms_new_order_template": "SMS_213285927",
            "email_new_order_template": "''",
            "order_print_rules": "1",
            "feieyun_user": "fuxiang.gong@qq.com",
            "feieyun_ukey": "dMLEXzBvgCRDzpW6",
            "profit_settlement_limit_time": "43200",
            "seo_title": "",
            "seo_keywords": "",
            "seo_desc": "",
            "is_hide_goods_buy": "1",
            "is_realstore_info": "1",
            "is_service_info": "1",
            "is_select_position": "1",
            "is_auth_fill_info": "1",
            "is_auth_upload_pic": "1",
            "is_auth_upload_more_prove": "1",
            "is_seller_user_menu": "1",
            "is_staff_finance_info": "1",
            "is_staff_auth_fill_info": "1",
            "is_staff_auth_upload_pic": "1",
            "is_order_allot": "1",
            "is_order_batch": "1",
            "is_order_frequencycard": "1",
            "is_allot_fictitious_received": "1",
            "is_orderallot_add": "1",
            "is_orderallot_pay": "1",
            "is_user_list": "1",
            "is_user_wallet_recharge": "1",
            "is_user_order_list": "1",
            "is_user_order_only_store": "1",
            "is_user_valet_order": "1",
            "is_user_frequency_card_list": "1",
            "is_user_frequency_card_edit": "1",
            "is_user_frequency_card_status_update": "1",
            "is_user_frequency_card_used_list": "1",
            "is_user_frequency_card_used_add": "1",
            "is_user_frequency_card_used_delete": "1",
            "is_staff_user_list": "1",
            "is_staff_user_order_list": "1",
            "is_staff_user_wallet_recharge": "1",
            "is_staff_user_order_only_store": "1",
            "is_staff_user_valet_order": "1",
            "is_staff_orderallot_pay": "1",
            "is_staff_user_frequency_card_list": "1",
            "is_staff_user_frequency_card_edit": "1",
            "is_staff_user_frequency_card_status_update": "1",
            "is_staff_user_frequency_card_used_list": "1",
            "is_staff_user_frequency_card_used_add": "1",
            "is_staff_user_frequency_card_used_delete": "1",
            "is_new_order_audio_notice": "1",
            "is_new_order_notice": "1",
            "is_order_print": "1",
            "is_order_print_br": "1",
            "is_order_print_sort": "1"
        },
        "favor_user": [],
        "category": [
            {
                "id": "1",
                "name": "默认分类",
                "name_alias": "默认分类 (1)"
            }
        ],
        "slider_list": [],
        "icon_list": [],
        "data_list": [
            {
                "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

参数名 是否必须 类型 描述
base array 插件基础配置
category array 门店分类
favor_user array 用户门店收藏列表
slider_list array 轮播列表
icon_list array icon导航列表
data_list array 门店数据列表

备注

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

0 人点赞过