💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
**简要描述:** - 获取个人中心或商品分类页面 **请求URL:** - `/shopapi/DecorateTheme/getPage` **请求方式:** - GET **参数:** |参数名 |必选 |类型 |说明 | | ------ | ------ | ------ |------ | |type |是 |int |类型:2-商品分类;3-会员中心 | **返回示例** ``` { "code": 1, "show": 0, "msg": "", "data": { "id": 8, "content": [ { "name": "banner", "icon": "http://qmxq.oss-cn-hangzhou.aliyuncs.com/pageicon/banner-icon.png", "title": "轮播图", "content": [ { "url": "HESHOP_URL_STRING/static/images/template/a10756074b56634da47d413465031b8b.png", "link": [] }, { "url": "", "link": [] } ], "facade": { "chamfer_style": 2, "indicator_style": 1, "indicator_align": "right", "indicator_color": "#f5212d" } }, { "name": "navigation", "icon": "http://qmxq.oss-cn-hangzhou.aliyuncs.com/pageicon/navigation-icon.png", "title": "图文导航", "content": { "style": 1, "data": [ { "url": "HESHOP_URL_STRING/static/images/template/70d949b83c78c77cd5af558345ba79a7.png", "title": "彩妆", "link": { "name": "购物车", "path": "/pages/cart/index", "param": [], "index": 4, "extend": false } }, { "url": "HESHOP_URL_STRING/static/images/template/54ec56b72951d3eca3aabc0dcc40f769.png", "title": "面膜", "link": { "name": "全部商品", "path": "/pages/goods/list", "param": [], "index": 1, "extend": false } }, { "url": "HESHOP_URL_STRING/static/images/template/d5603eee479a407c9b7e4518d56854be.png", "title": "电器", "link": { "name": "微页面", "path": "/pages/page/index", "param": { "id": 51, "title": "世平测试专用", "name": "首页", "status": 0 }, "index": 7, "extend": true } }, { "url": "HESHOP_URL_STRING/static/images/template/a0385b5f5b863ee26f6bb37eca52e872.png", "title": "护理", "link": [] } ] }, "facade": { "nav_style": 1, "nav_line": 2, "nav_line_mun": 4, "active_color": "#f5212d", "indicator_style": 1, "background_color": "#FFFFFF", "text_color": "#333333" } }, { "name": "rubik", "icon": "http://qmxq.oss-cn-hangzhou.aliyuncs.com/pageicon/rubik-icon.png", "title": "图片魔方", "content": { "style": 4, "density": 4, "data": [ { "url": "HESHOP_URL_STRING/static/images/template/34e8694117ac342d348ad7b084b5779d.png", "link": "" }, { "title": "", "url": "HESHOP_URL_STRING/static/images/template/eae6e01e25dcbdc07648106571f10a3d.png", "link": { "name": "全部商品", "path": "/pages/goods/list", "param": [], "index": 1, "extend": false } }, { "title": "", "url": "HESHOP_URL_STRING/static/images/template/758aee7474e05fb4f8a691548240c6ee.png", "link": "" } ] }, "facade": [] }, { "name": "title", "icon": "http://qmxq.oss-cn-hangzhou.aliyuncs.com/pageicon/title-icon.png", "title": "标题栏", "content": { "style": 1, "title": "为您推荐", "subtitle": "子标题", "is_more": true, "moretitle": "查看更多", "morelink": [] }, "facade": { "title_color": "#333333", "title_font_size": 14, "subtitle_color": "#999999", "subtitle_font_size": 12, "more_color": "#999999", "margin": 20 } }, { "name": "goods", "icon": "http://qmxq.oss-cn-hangzhou.aliyuncs.com/pageicon/goods-icon.png", "title": "商品", "content": { "type": 1, "goods": [], "group": { "id": 0, "name": "", "limit": 20 }, "is_title": true, "is_price": true, "is_button": true }, "facade": { "list_style": 2, "card_style": 2, "chamfer_style": 1, "margin": 16, "padding": 20 } }, { "name": "wechat", "icon": "http://qmxq.oss-cn-hangzhou.aliyuncs.com/pageicon/wechat-icon.png", "title": "微信公众号", "content": [], "facade": { "line_style": "", "line_color": "", "high_style": 20 } } ], "common": [] } } ``` **返回参数说明:** |参数名 |类型 |说明 | | ------ | ------ | ------ |------ | |id|int |id | |content|arrat |页面内容 | |common|arrat |页面配置 |