店铺页面设计
创建于 2021-10-21 / 最近更新于 2021-10-21 /
837
字体:
[默认]
[大]
[更大]
简要描述
店铺页面设计
接口版本
版本号 | 制定人 | 制定日期 | 修订日期 |
---|---|---|---|
1.0.0 | Devil | 2020-09-29 |
请求URL
plugins/index&pluginsname=shop&pluginscontrol=design&pluginsaction=index
请求方式
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": {
"id": "1",
"user_id": "1",
"shop_id": "1",
"logo": "",
"name": "默认页面07161601",
"access_count": "506",
"is_enable": "1",
"is_header": "1",
"is_footer": "1",
"seo_title": "",
"seo_keywords": "",
"seo_desc": "",
"add_time": "2021-07-16 16:01:50",
"upd_time": "2021-07-16 16:15:16"
},
"layout_data": []
}
}
错误时返回
{
"msg": "error",
"code": -1,
"data": []
}
返回参数说明 -> data
参数名 | 是否必须 | 类型 | 描述 |
---|---|---|---|
base | 是 | array | 插件基础数据 |
data | 是 | array | 页面设计数据 |
shop_navigation | 是 | array | 店铺导航 |
shop_favor_user | 是 | array | 店铺收藏用户 |
shop_goods_category | 是 | array | 店铺商品分类 |
shop | 是 | array | 店铺信息 |
layout_data | 是 | array | 可视化数据 |
备注
更多返回错误代码请看首页的错误代码描述
1 人点赞过