简要描述:
-首页
请求域名:
- http://xx.com
请求URL:
plugin.pc-terminal.api.set.get-set 原先的pc端全局设置接口,当用模板2时,返回数据会多一个pc_temp2_set数据
请求参数说明:
参数名 | 类型 | 是否必需 | 说明 |
---|
返回示例:
正确时返回:
{
"result": 1,
"msg": "ok",
"data": {
"set": {
"pc_temp": 2,
"is_open": 0,
"logo": "",
"theme_color": "#44be95",
"banner_bg": "",
"nav_bottom": "<template><div class=\"footer flex flex-a-c\">\r\n <div class=\"footer_content\">\r\n <div class=\"top flex flex-a-c flex-j-sb\">\r\n <div class=\"top-logo\">\r\n <img src=\"~/assets/images/experice/experice_idea_img.png\">\r\n </div>\r\n <div class=\"top-center flex-col flex-a-c flex-j-c flex\">\r\n <div class=\"info flex flex-j-c\">\r\n <span>平台介绍 | 用户协议 | 平台证照 | 常见问题 | 联系我们</span>\r\n </div>\r\n <p>版权所有某某建筑装饰有限公司技术支持:某某科技公司</p>\r\n </div>\r\n <div class=\"top-scan flex-col flex-a-c flex-j-c flex\">\r\n <img src=\"~/assets/images/experice/experice_idea_img.png\">\r\n <span>扫一扫关注公众号</span>\r\n </div>\r\n </div>\r\n <div class=\"bottom flex-col flex-a-c flex-j-c flex\">\r\n <div class=\"address flex-col flex-a-c flex-j-c flex\">\r\n <div>© 2009-2020 Aliyun.com 版权所有 ICP证:粤B2-20080101</div>\r\n <div style=\"margin-top:10px;\">地址:广东省广州市白云区某某大厦</div>\r\n </div>\r\n </div>\r\n </div>\r\n </div></template><script>\r\nexport default {};\r\n</script><style lang=\"scss\" scoped>\r\n.footer {\r\n height: 280px;\r\n background-color: #ececec;\r\n width: 100%;\r\n\r\n .footer_content {\r\n width: 1200px;\r\n margin: 0 auto;\r\n .top {\r\n height: 184px;\r\n box-sizing: border-box;\r\n border-bottom: solid 1px #bfbfbf;\r\n .top-logo {\r\n width: 195px;\r\n height: 58px;\r\n img {\r\n width: 100%;\r\n height: 100%;\r\n }\r\n }\r\n .top-center {\r\n flex: 1;\r\n color: #666666;\r\n .info {\r\n margin-bottom: 30px;\r\n }\r\n }\r\n .top-scan {\r\n width: 130px;\r\n color: #666666;\r\n img {\r\n width: 88px;\r\n height: 87px;\r\n margin-bottom: 9px;\r\n }\r\n }\r\n }\r\n .bottom {\r\n height: 63px;\r\n color: #666666;\r\n padding-left: 195px;\r\n padding-right: 130px;\r\n }\r\n }\r\n}\r\n</style>",
"login_advert": "newimage/12faf451347155a3e86ea12facedb544.jpg",
"advert_top_img": "newimage/71dd0c4850e7e9e2a8daa3300103516a.jpg",
"advert_words": "",
"search_title": "商品名称/规格/型号",
"bind_mobile": 0,
"slide_style": 1,
"set_top": 1,
"category_show": 1,
"logo_src": "",
"banner_bg_src": "",
"login_advert_src": "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/12faf451347155a3e86ea12facedb544.jpg",
"advert_top_img_src": "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/71dd0c4850e7e9e2a8daa3300103516a.jpg"
},
"shop_name": "芸信商城11",
"nav_top": [
{
"id": 49,
"uniacid": 1,
"nav_name": "123",
"pid": 0,
"level": 1,
"style": 0,
"url": null,
"img": "newimage/5de29eb8a5fdceef7a172a68709478a7.jpg",
"sort": 1,
"is_show": 1,
"created_at": "2021-02-18 17:19:56",
"updated_at": "2021-02-18 17:19:56",
"img_src": "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/5de29eb8a5fdceef7a172a68709478a7.jpg",
"sub_nav": [
{
"id": 53,
"uniacid": 1,
"nav_name": "首页子导航",
"pid": 49,
"level": 2,
"style": 0,
"url": null,
"img": "",
"sort": 1,
"is_show": 1,
"created_at": "2021-02-18 17:19:56",
"updated_at": null,
"img_src": ""
},
{
"id": 52,
"uniacid": 1,
"nav_name": "12321",
"pid": 49,
"level": 2,
"style": 0,
"url": "",
"img": "",
"sort": 1,
"is_show": 1,
"created_at": "2021-02-18 17:19:56",
"updated_at": null,
"img_src": ""
}
]
},
{
"id": 51,
"uniacid": 1,
"nav_name": "13",
"pid": 0,
"level": 1,
"style": 0,
"url": "",
"img": "newimage/4863b19849a289c6b7676cff8fb5a7d7.jpg",
"sort": 0,
"is_show": 1,
"created_at": "2021-02-18 17:19:56",
"updated_at": "2021-02-18 17:19:56",
"img_src": "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/4863b19849a289c6b7676cff8fb5a7d7.jpg",
"sub_nav": []
}
],
"slide": [
{
"title": "1",
"img": "newimage/07ef3a96007a7873cafef09c80e14896.jpg",
"url": "12",
"img_src": "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/07ef3a96007a7873cafef09c80e14896.jpg"
},
{
"title": "1",
"img": "newimage/07ef3a96007a7873cafef09c80e14896.jpg",
"url": "12",
"img_src": "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/07ef3a96007a7873cafef09c80e14896.jpg"
},
{
"title": "1",
"img": "newimage/07ef3a96007a7873cafef09c80e14896.jpg",
"url": "12",
"img_src": "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/07ef3a96007a7873cafef09c80e14896.jpg"
},
{
"title": "1",
"img": "newimage/07ef3a96007a7873cafef09c80e14896.jpg",
"url": "12",
"img_src": "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/07ef3a96007a7873cafef09c80e14896.jpg"
},
{
"title": "幻灯片1",
"img": "newimage/5de29eb8a5fdceef7a172a68709478a7.jpg",
"url": "12321",
"img_src": "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/5de29eb8a5fdceef7a172a68709478a7.jpg"
}
],
"is_login": false,
"qr_code": "http://yzmall.com/storage/app/public/pc_terminal/qr_code/1-home-width-250.png",
"seo": {
"title": "3523",
"keywords": "24124",
"description": "124214"
},
"pc_temp2_set": {
"id": 1,
"uniacid": 1,
"right_advert": "newimage/22076e64c3baaa51ce41ea85aa58c327.jpg",
"advert_link": "",
"notice": "",
"module_show": [
"limit_buy",
"video_demand",
"promotion",
"new_goods",
"article",
"solution"
],
"logo": "",
"nav_bottom": null,
"module_diy_name": null,
"created_at": "2021-09-13 09:53:19",
"updated_at": "2021-09-14 14:03:43",
"right_advert_src": "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/22076e64c3baaa51ce41ea85aa58c327.jpg",
"logo_src": ""
}
}
}
返回参数说明:pc_temp2_set(广告位数据)
参数名 | 类型 | 说明 | |
---|---|---|---|
right_advert_src | string | 顶部右侧广告 | |
advert_link | string | 顶部右侧广告跳转链接 | |
notice | string | 平台公告 | |
logo_src | string | 左侧logo图片 | |
nav_bottom | string | 底部导航 |
错误时返回:
{
"result": 0,
"msg": "请登录",
"data": []
}