API接口文档

店铺详情

创建于 2021-10-21 / 70

简要描述

店铺详情

接口版本

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

请求URL

plugins/index&pluginsname=shop&pluginscontrol=index&pluginsaction=detail

请求方式

POST

公共参数

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

请求参数

{
    "id": 1
}
参数名 是否必须 类型 默认值 描述
id int 数据id

返回示例

正确时返回

{
    "msg": "success",
    "code": 0,
    "data": {
        "base": {
            "application_name": "店铺",
            "seller_center_notice": [
                "卖家中心通知信息"
            ],
            "layout_pages_custom_doc_url": "",
            "seller_agreement": [
                "入驻协议内容",
                "哈哈哈",
                "哇哈哈"
            ],
            "sms_sign": "",
            "sms_new_order_template": "",
            "email_new_order_template": "",
            "profit_settlement_limit_time": "1",
            "seo_title": "",
            "seo_keywords": "",
            "seo_desc": "",
            "is_admin_goods_shop_show": "1",
            "is_admin_goods_settle_show": "1",
            "is_shop_favor_menu": "1",
            "is_seller_user_menu": "1",
            "is_shop_info": "1",
            "is_service_info": "1",
            "is_select_position": "0",
            "is_auth_fill_info": "1",
            "is_auth_upload_pic": "0",
            "is_auth_upload_more_prove": "0",
            "is_notice_info": "0",
            "is_goods_detail_shop_show": "1",
            "is_check_url_self_site": "1",
            "is_new_order_notice": "0"
        },
        "shop_navigation": [
            {
                "id": "1",
                "pid": "0",
                "shop_id": "1",
                "name": "页面设计",
                "url": "/pages/plugins/shop/design/design?id=1",
                "value": "1",
                "data_type": "design",
                "is_new_window_open": "0",
                "active": 0
            },
            {
                "id": "4",
                "pid": "0",
                "shop_id": "1",
                "name": "手机",
                "url": "/pages/plugins/shop/search/search?shop_id=1&category_id=1",
                "value": "1",
                "data_type": "category",
                "is_new_window_open": "0",
                "active": 0
            }
        ],
        "shop_favor_user": [
            "1"
        ],
        "shop_goods_category": [
            {
                "id": "1",
                "name": "手机",
                "name_alias": "手机 (1)"
            },
            {
                "id": "2",
                "name": "包包",
                "name_alias": "包包 (2)"
            }
        ],
        "shop": {
            "id": "1",
            "user_id": "1",
            "logo": "https://d1.shopxo.vip/static/upload/images/plugins_shop/user_shop/4148/2021/04/15/1618475981109734.jpg",
            "logo_long": "https://d1.shopxo.vip/static/upload/images/plugins_shop/user_shop/4148/2021/04/15/1618476262656662.png",
            "banner": "https://d1.shopxo.vip/static/plugins/images/shop/default-banner.jpg",
            "name": "ShopXO多商户店铺",
            "describe": "我们专注提供专业的软件产品和技术。为合作伙伴提供安全可靠的软件产品与解决方案,共同帮助终端用户实现业务创新、快速发展。",
            "category_id": "1",
            "data_model": "0",
            "service_weixin_qrcode": "https://d1.shopxo.vip/static/upload/images/plugins_shop/user_shop/4148/2021/04/15/1618476097689249.png",
            "service_qq": "386392432",
            "service_tel": "400-888-8888",
            "open_week": "0",
            "close_week": "4",
            "open_time": "10:00",
            "close_time": "18:00",
            "is_extraction": "1",
            "province": "9",
            "city": "152",
            "county": "1896",
            "address": "浦江地铁站",
            "lng": "0.0000000000",
            "lat": "0.0000000000",
            "seo_title": "",
            "seo_keywords": "",
            "seo_desc": "",
            "add_time": "2021-04-15 16:42:29",
            "upd_time": "2021-07-29 13:16:57",
            "user": [],
            "url": "https://d1.shopxo.vip/plugins/index/pluginsname/shop/pluginscontrol/index/pluginsaction/detail/id/1.html",
            "province_name": "上海市",
            "city_name": "闵行区",
            "county_name": "浦江镇",
            "shop_favor_count": 8,
            "category_name": "数码家电",
            "data_model_name": "自动模式",
            "open_week_name": "周一",
            "close_week_name": "周五"
        },
        "data": {
            "goods": [
                {
                    "id": "2",
                    "shop_id": "1",
                    "shop_user_id": "1",
                    "shop_category_id": "1",
                    "shop_settle_price": "0.00",
                    "shop_settle_rate": "0.00",
                    "brand_id": "2",
                    "site_type": "-1",
                    "title": "苹果(Apple)iPhone 6 Plus (A1524)移动联通电信4G手机 金色 16G",
                    "title_color": "",
                    "simple_desc": "",
                    "model": "iPhone 6 Plus",
                    "place_origin": "0",
                    "inventory": "7991",
                    "inventory_unit": "步",
                    "images": "https://d1.shopxo.vip/static/upload/images/goods/2019/01/14/1547451274847894.jpg",
                    "original_price": "4500.00-6800.00",
                    "min_original_price": "6000.00",
                    "max_original_price": "7600.00",
                    "price": "1350.00-2040.00",
                    "min_price": "1350.00",
                    "max_price": "2040.00",
                    "give_integral": "30",
                    "buy_min_number": "1",
                    "buy_max_number": "0",
                    "is_deduction_inventory": "1",
                    "is_shelves": "1",
                    "content_web": "


", "photo_count": "2", "sales_count": "38", "access_count": "3029", "video": "https://d1.shopxo.vip/static/upload/video/goods/2019/01/14/1547458876723311.mp4", "is_exist_many_spec": "1", "spec_base": "", "plugins_membershiplevelvip_price_extends": null, "seo_title": "", "seo_keywords": "", "seo_desc": "", "is_delete_time": "0", "add_time": "2019-01-14 15:40:24", "upd_time": "2021-10-20 12:58:52", "price_container": { "price": "4500.00-6800.00", "min_price": "4500.00", "max_price": "6800.00", "original_price": "6000.00-7600.00", "min_original_price": "6000.00", "max_original_price": "7600.00" }, "goods_url": "https://d1.shopxo.vip/goods/index/id/2.html", "images_old": "/static/upload/images/goods/2019/01/14/1547451274847894.jpg", "video_old": "/static/upload/video/goods/2019/01/14/1547458876723311.mp4", "place_origin_name": null, "brand_name": "佳洁士", "show_field_original_price_text": "原价", "show_field_price_text": "秒杀价", "plugins_view_panel_data": [], "plugins_view_icon_data": [] }, { "id": "1", "shop_id": "1", "shop_user_id": "1", "shop_category_id": "1", "shop_settle_price": "0.00", "shop_settle_rate": "0.00", "brand_id": "1", "site_type": "-1", "title": "MIUI/小米 小米手机4 小米4代 MI4智能4G手机包邮 黑色 D-LTE(4G)/TD-SCD", "title_color": "", "simple_desc": "", "model": "", "place_origin": "0", "inventory": "888", "inventory_unit": "步", "images": "https://d1.shopxo.vip/static/upload/images/goods/2019/01/14/1547450781101144.jpg", "original_price": "3200.00", "min_original_price": "3200.00", "max_original_price": "3200.00", "price": "2100.00", "min_price": "2100.00", "max_price": "2100.00", "give_integral": "10", "buy_min_number": "1", "buy_max_number": "0", "is_deduction_inventory": "1", "is_shelves": "1", "content_web": "


", "photo_count": "2", "sales_count": "10", "access_count": "1567", "video": "", "is_exist_many_spec": "0", "spec_base": "", "plugins_membershiplevelvip_price_extends": null, "seo_title": "", "seo_keywords": "", "seo_desc": "", "is_delete_time": "0", "add_time": "2019-01-14 15:28:41", "upd_time": "2021-10-20 12:58:52", "price_container": { "price": "2100.00", "min_price": "2100.00", "max_price": "2100.00", "original_price": "3200.00", "min_original_price": "3200.00", "max_original_price": "3200.00" }, "goods_url": "https://d1.shopxo.vip/goods/index/id/1.html", "images_old": "/static/upload/images/goods/2019/01/14/1547450781101144.jpg", "video_old": "", "place_origin_name": null, "brand_name": "强生", "show_field_original_price_text": "原价", "show_field_price_text": "销售价", "plugins_view_panel_data": [], "plugins_view_icon_data": [] }, { "id": "6", "shop_id": "1", "shop_user_id": "1", "shop_category_id": "1", "shop_settle_price": "0.00", "shop_settle_rate": "0.00", "brand_id": "1", "site_type": "2", "title": "vivo X5MAX L 移动4G 八核超薄大屏5.5吋双卡手机vivoX5max", "title_color": "", "simple_desc": "", "model": "", "place_origin": "0", "inventory": "887", "inventory_unit": "步", "images": "https://d1.shopxo.vip/static/upload/images/goods/2019/01/14/1547453000703308.jpg", "original_price": "2998.90", "min_original_price": "3200.00", "max_original_price": "3200.00", "price": "1499.45", "min_price": "1499.45", "max_price": "1499.45", "give_integral": "65", "buy_min_number": "1", "buy_max_number": "0", "is_deduction_inventory": "1", "is_shelves": "1", "content_web": "

 X5L/SL/V/M (5.0寸)  X5max钢化膜(5.5寸)  X5pro钢化膜(5.2寸) 



", "photo_count": "2", "sales_count": "5", "access_count": "1405", "video": "", "is_exist_many_spec": "0", "spec_base": "", "plugins_membershiplevelvip_price_extends": "", "seo_title": "", "seo_keywords": "", "seo_desc": "", "is_delete_time": "0", "add_time": "2019-01-14 16:05:35", "upd_time": "2021-10-20 12:58:52", "price_container": { "price": "2998.90", "min_price": "2998.90", "max_price": "2998.90", "original_price": "3200.00", "min_original_price": "3200.00", "max_original_price": "3200.00" }, "goods_url": "https://d1.shopxo.vip/goods/index/id/6.html", "images_old": "/static/upload/images/goods/2019/01/14/1547453000703308.jpg", "video_old": "", "place_origin_name": null, "brand_name": "强生", "show_field_original_price_text": "原价", "show_field_price_text": "秒杀价", "plugins_view_panel_data": [], "plugins_view_icon_data": [] }, { "id": "5", "shop_id": "1", "shop_user_id": "1", "shop_category_id": "1", "shop_settle_price": "0.00", "shop_settle_rate": "0.00", "brand_id": "2", "site_type": "-1", "title": "Meizu/魅族 MX4 Pro移动版 八核大屏智能手机 黑色 16G", "title_color": "", "simple_desc": "", "model": "", "place_origin": "0", "inventory": "888", "inventory_unit": "步", "images": "https://d1.shopxo.vip/static/upload/images/goods/2019/01/14/1547452714324599.jpg", "original_price": "2499.00", "min_original_price": "3200.00", "max_original_price": "3200.00", "price": "249.90", "min_price": "249.90", "max_price": "249.90", "give_integral": "56", "buy_min_number": "1", "buy_max_number": "0", "is_deduction_inventory": "1", "is_shelves": "1", "content_web": "


", "photo_count": "2", "sales_count": "12", "access_count": "1223", "video": "", "is_exist_many_spec": "0", "spec_base": null, "fictitious_goods_value": null, "plugins_membershiplevelvip_price_extends": null, "seo_title": "", "seo_keywords": "", "seo_desc": "", "is_delete_time": "0", "add_time": "2019-01-14 15:59:58", "upd_time": "2021-10-20 12:58:52", "price_container": { "price": "2499.00", "min_price": "2499.00", "max_price": "2499.00", "original_price": "3200.00", "min_original_price": "3200.00", "max_original_price": "3200.00" }, "goods_url": "https://d1.shopxo.vip/goods/index/id/5.html", "images_old": "/static/upload/images/goods/2019/01/14/1547452714324599.jpg", "video_old": "", "place_origin_name": null, "brand_name": "佳洁士", "show_field_original_price_text": "原价", "show_field_price_text": "秒杀价", "plugins_view_panel_data": [], "plugins_view_icon_data": [] }, { "id": "3", "shop_id": "1", "shop_user_id": "1", "shop_category_id": "1", "shop_settle_price": "0.00", "shop_settle_rate": "0.00", "brand_id": "2", "site_type": "-1", "title": "Samsung/三星 SM-G8508S GALAXY Alpha四核智能手机 新品 闪耀白", "title_color": "", "simple_desc": "", "model": "", "place_origin": "0", "inventory": "888", "inventory_unit": "步", "images": "https://d1.shopxo.vip/static/upload/images/goods/2019/01/14/1547451909951171.jpg", "original_price": "6866.00", "min_original_price": "6866.00", "max_original_price": "6866.00", "price": "3888.00", "min_price": "3888.00", "max_price": "3888.00", "give_integral": "20", "buy_min_number": "1", "buy_max_number": "0", "is_deduction_inventory": "1", "is_shelves": "1", "content_web": "


", "photo_count": "2", "sales_count": "5", "access_count": "894", "video": "", "is_exist_many_spec": "0", "spec_base": "", "plugins_membershiplevelvip_price_extends": null, "seo_title": "", "seo_keywords": "", "seo_desc": "", "is_delete_time": "0", "add_time": "2019-01-14 15:46:47", "upd_time": "2021-10-20 12:58:52", "price_container": { "price": "3888.00", "min_price": "3888.00", "max_price": "3888.00", "original_price": "6866.00", "min_original_price": "6866.00", "max_original_price": "6866.00" }, "goods_url": "https://d1.shopxo.vip/goods/index/id/3.html", "images_old": "/static/upload/images/goods/2019/01/14/1547451909951171.jpg", "video_old": "", "place_origin_name": null, "brand_name": "佳洁士", "show_field_original_price_text": "原价", "show_field_price_text": "销售价", "plugins_view_panel_data": [], "plugins_view_icon_data": [] }, { "id": "4", "shop_id": "1", "shop_user_id": "1", "shop_category_id": "1", "shop_settle_price": "0.00", "shop_settle_rate": "0.00", "brand_id": "1", "site_type": "-1", "title": "Huawei/华为 H60-L01 荣耀6 移动4G版智能手机 安卓", "title_color": "", "simple_desc": "", "model": "", "place_origin": "0", "inventory": "888", "inventory_unit": "步", "images": "https://d1.shopxo.vip/static/upload/images/goods/2019/01/14/1547452474332334.jpg", "original_price": "1999.00", "min_original_price": "2300.00", "max_original_price": "2300.00", "price": "199.90", "min_price": "199.90", "max_price": "199.90", "give_integral": "19", "buy_min_number": "1", "buy_max_number": "0", "is_deduction_inventory": "1", "is_shelves": "1", "content_web": "


", "photo_count": "2", "sales_count": "5", "access_count": "882", "video": "", "is_exist_many_spec": "0", "spec_base": "", "plugins_membershiplevelvip_price_extends": null, "seo_title": "", "seo_keywords": "", "seo_desc": "", "is_delete_time": "0", "add_time": "2019-01-14 15:55:53", "upd_time": "2021-10-20 12:58:52", "price_container": { "price": "1999.00", "min_price": "1999.00", "max_price": "1999.00", "original_price": "2300.00", "min_original_price": "2300.00", "max_original_price": "2300.00" }, "goods_url": "https://d1.shopxo.vip/goods/index/id/4.html", "images_old": "/static/upload/images/goods/2019/01/14/1547452474332334.jpg", "video_old": "", "place_origin_name": null, "brand_name": "强生", "show_field_original_price_text": "原价", "show_field_price_text": "秒杀价", "plugins_view_panel_data": [], "plugins_view_icon_data": [] } ], "category_ids": [ "1", "1", "1", "1", "1", "1" ] } } }

错误时返回

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

返回参数说明 -> data

参数名 是否必须 类型 描述
base array 插件基础数据
data array 商品数据或布局数据
shop_navigation array 店铺导航
shop_favor_user array 店铺收藏用户
shop_goods_category array 店铺商品分类
shop array 店铺信息

备注

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

0 人点赞过