简要描述:
- app页面设置接口
请求域名:
- http://xx.com
请求URL:
route=plugin.aggregation-cps.api.page-setting.getPageSetting
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|
返回示例:
正确时返回:
{
"result": 1,
"msg": "获取成功",
"data": {
"top_color_open_state": 1,
"top_color": "#F8072F",
"bottom_default_color": "#0D0E0E",
"bottom_select_color": "#0CE76F",
"bottom_button_color_open_state": 1,
"bottom_menu": [
{
"type": 1,
"title": "首页",
"source": 1,
"url": "",
"select_top_color": "#A4F715",
"select_bottom_color": "#DFEA10",
"default_top_color": "#BE1648",
"default_bottom_color": "#D511D1",
"select_image_url": "",
"default_image_url": "",
"is_decorate": 0
},
{
"type": 2,
"title": "购物",
"source": 1,
"url": "",
"select_top_color": "#A4F715",
"select_bottom_color": "#DFEA10",
"default_top_color": "#BE1648",
"default_bottom_color": "#D511D1",
"select_image_url": "",
"default_image_url": "",
"is_decorate": 0
},
{
"type": 3,
"title": "精彩视频",
"source": 1,
"url": "",
"select_top_color": "#A4F715",
"select_bottom_color": "#DFEA10",
"default_top_color": "#BE1648",
"default_bottom_color": "#D511D1",
"select_image_url": "",
"default_image_url": "",
"is_decorate": 0
},
{
"type": 4,
"title": "短视频",
"source": 1,
"url": "",
"select_top_color": "#A4F715",
"select_bottom_color": "#DFEA10",
"default_top_color": "#BE1648",
"default_bottom_color": "#D511D1",
"select_image_url": "",
"default_image_url": "",
"is_decorate": 0
},
{
"type": 5,
"title": "社区",
"source": 1,
"url": "",
"select_top_color": "#A4F715",
"select_bottom_color": "#DFEA10",
"default_top_color": "#BE1648",
"default_bottom_color": "#D511D1",
"select_image_url": "",
"default_image_url": "",
"is_decorate": 0
},
{
"type": 6,
"title": "商学院",
"source": 1,
"url": "",
"select_top_color": "#A4F715",
"select_bottom_color": "#DFEA10",
"default_top_color": "#BE1648",
"default_bottom_color": "#D511D1",
"select_image_url": "",
"default_image_url": "",
"is_decorate": 0
},
{
"type": 7,
"title": "我的",
"source": 1,
"url": "",
"select_top_color": "#A4F715",
"select_bottom_color": "#DFEA10",
"default_top_color": "#BE1648",
"default_bottom_color": "#D511D1",
"select_image_url": "",
"default_image_url": "",
"is_decorate": 0
},
{
"type": 8,
"title": "自营区",
"source": 0,
"url": "http://zouye.yunzmall.com/addons/yun_shop/?menu#/home?i=1",
"select_top_color": "#A4F715",
"select_bottom_color": "#DFEA10",
"default_top_color": "#BE1648",
"default_bottom_color": "#D511D1",
"select_image_url": "",
"default_image_url": "",
"is_decorate": 0
},
{
"type": 9,
"title": "短视频",
"source": 0,
"url": "http://zouye.yunzmall.com/addons/yun_shop/?menu#/videoList?i=1",
"select_top_color": "#A4F715",
"select_bottom_color": "#DFEA10",
"default_top_color": "#BE1648",
"default_bottom_color": "#D511D1",
"select_image_url": "",
"default_image_url": "",
"is_decorate": 0
},
{
"type": 10,
"title": "直播",
"source": 0,
"url": "http://zouye.yunzmall.com/addons/yun_shop/?menu#/liveList?i=1",
"select_top_color": "#A4F715",
"select_bottom_color": "#DFEA10",
"default_top_color": "#BE1648",
"default_bottom_color": "#D511D1",
"select_image_url": "",
"default_image_url": "",
"is_decorate": 0
},
{
"type": 11,
"title": "微社区",
"source": 0,
"url": "http://zouye.yunzmall.com/addons/yun_shop/?menu#/microHome/microIndex?i=1",
"select_top_color": "#A4F715",
"select_bottom_color": "#DFEA10",
"default_top_color": "#BE1648",
"default_bottom_color": "#D511D1",
"select_image_url": "",
"default_image_url": "",
"is_decorate": 0
},
{
"type": 12,
"title": "附件门店",
"source": 0,
"url": "http://zouye.yunzmall.com/addons/yun_shop/?menu#/o2o/home?i=1",
"select_top_color": "#A4F715",
"select_bottom_color": "#DFEA10",
"default_top_color": "#BE1648",
"default_bottom_color": "#D511D1",
"select_image_url": "",
"default_image_url": "",
"is_decorate": 0
},
{
"type": 13,
"title": "附近酒店",
"source": 0,
"url": "http://zouye.yunzmall.com/addons/yun_shop/?menu#/hotel/index?i=1",
"select_top_color": "#A4F715",
"select_bottom_color": "#DFEA10",
"default_top_color": "#BE1648",
"default_bottom_color": "#D511D1",
"select_image_url": "",
"default_image_url": "",
"is_decorate": 0
},
{
"type": 14,
"title": "圈子",
"source": 0,
"url": "http://zouye.yunzmall.com/addons/yun_shop/?menu#/circleIndex?i=1",
"select_top_color": "#A4F715",
"select_bottom_color": "#DFEA10",
"default_top_color": "#BE1648",
"default_bottom_color": "#D511D1",
"select_image_url": "",
"default_image_url": "",
"is_decorate": 0
},
{
"type": 15,
"title": "课程",
"source": 0,
"url": "http://zouye.yunzmall.com/addons/yun_shop/?menu#/member/coursemanage?i=1",
"select_top_color": "#A4F715",
"select_bottom_color": "#DFEA10",
"default_top_color": "#BE1648",
"default_bottom_color": "#D511D1",
"select_image_url": "",
"default_image_url": "",
"is_decorate": 0
},
{
"type": 16,
"title": "文章中心",
"source": 0,
"url": "http://zouye.yunzmall.com/addons/yun_shop/?menu#/notice?i=1",
"select_top_color": "#A4F715",
"select_bottom_color": "#DFEA10",
"default_top_color": "#BE1648",
"default_bottom_color": "#D511D1",
"select_image_url": "",
"default_image_url": "",
"is_decorate": 0
},
{
"type": 17,
"title": "项目",
"source": 0,
"url": "http://zouye.yunzmall.com/addons/yun_shop/?menu#/VerificationProjectList?i=1",
"select_top_color": "#A4F715",
"select_bottom_color": "#DFEA10",
"default_top_color": "#BE1648",
"default_bottom_color": "#D511D1",
"select_image_url": "",
"default_image_url": "",
"is_decorate": 0
},
{
"type": 18,
"title": "推广中心",
"source": 0,
"url": "http://zouye.yunzmall.com/addons/yun_shop/?menu#/member/extension?i=1",
"select_top_color": "#A4F715",
"select_bottom_color": "#DFEA10",
"default_top_color": "#BE1648",
"default_bottom_color": "#D511D1",
"select_image_url": "",
"default_image_url": "",
"is_decorate": 0
},
{
"type": 19,
"title": "会员中心",
"source": 0,
"url": "http://zouye.yunzmall.com/addons/yun_shop/?menu#/member?i=1",
"select_top_color": "#A4F715",
"select_bottom_color": "#DFEA10",
"default_top_color": "#BE1648",
"default_bottom_color": "#D511D1",
"select_image_url": "",
"default_image_url": "",
"is_decorate": 0
}
],
"decorate_bottom_menu": [
{
"type": 2,
"title": "app页面",
"source": 1,
"url": "",
"select_top_color": "",
"select_bottom_color": "",
"default_top_color": "",
"default_bottom_color": "",
"select_image_url": "http://zouye.yunzmall.com/plugins/decorate/assets/cps_icon/normal/icon_tabbar_article_select.png",
"default_image_url": "http://zouye.yunzmall.com/plugins/decorate/assets/cps_icon/normal/icon_tabbar_article.png",
"is_decorate": 1
},
{
"type": 4,
"title": "品牌券",
"source": 1,
"url": "",
"select_top_color": "",
"select_bottom_color": "",
"default_top_color": "",
"default_bottom_color": "",
"select_image_url": "http://zouye.yunzmall.com/plugins/decorate/assets/cps_icon/normal/icon_tabbar_wonderful_video_select.png",
"default_image_url": "http://zouye.yunzmall.com/plugins/decorate/assets/cps_icon/normal/icon_tabbar_wonderful_video.png",
"is_decorate": 1
},
{
"type": 11,
"title": "H5",
"source": 0,
"url": "http://zouye.yunzmall.com/addons/yun_shop/?menu#/microHome/microIndex?i=1",
"select_top_color": "",
"select_bottom_color": "",
"default_top_color": "",
"default_bottom_color": "",
"select_image_url": "http://zouye.yunzmall.com/plugins/decorate/assets/cps_icon/normal/icon_tabbar_shop_select.png",
"default_image_url": "http://zouye.yunzmall.com/plugins/decorate/assets/cps_icon/normal/icon_tabbar_shop.png",
"is_decorate": 1
},
{
"type": 19,
"title": "菜单",
"source": 0,
"url": "http://zouye.yunzmall.com/addons/yun_shop/?menu#/member?i=1",
"select_top_color": "",
"select_bottom_color": "",
"default_top_color": "",
"default_bottom_color": "",
"select_image_url": "http://zouye.yunzmall.com/plugins/decorate/assets/cps_icon/linear/icon_advertising_linear_blue.png",
"default_image_url": "http://zouye.yunzmall.com/plugins/decorate/assets/cps_icon/linear/icon_advertising_linear.png",
"is_decorate": 1
}
],
"sms": {
"captcha": {
"sensitive": false,
"key": "$2y$10$HuNYZgSqABo4ds2rkHIb5uJget3e0qDLVEpOVuOg2fmYWj3XCNrwa",
"img": "xxxxxx",
"status": "1"
}
}
}
"search_state": 1,
"member_cancel_status": 0,
"message_open_state": 0,
"is_decorate": 1,
"is_search_coupon": 0,
"is_withdraw": 1
}
}
错误时返回:
{
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
名称 | 类型 | 说明 |
top_color_open_state | int | 是否开启自定义顶部颜色 0关闭 1开启 |
top_color | string | 顶部颜色 |
bottom_default_color | string | 底部默认字体颜色 |
bottom_select_color | string | 底部选中字体颜色 |
bottom_button_color_open_state | int | 是否开启自定义底部按钮组颜色 |
bottom_menu[ ]->type | int | 导航类型 原生(1首页 2购物 3精彩视频 4短视频 5社区 6商学院 7我的) H5(8商城首页 9短视频 10直播 11微社区 12附件门店 13附件酒店 14圈子 15课程 16文章中心 17项目 18推广中心 19会员中心) |
bottom_menu[ ]->title | int | 导航文字 |
bottom_menu[ ]->source | int | 0:H5页面 1:app原生页面 |
bottom_menu[ ]->url | int | H5跳转链接 |
bottom_menu[ ]->title | int | 导航文字 |
bottom_menu[ ]->select_top_color | string | 自定义底部按钮组-选中状态-顶部颜色 |
bottom_menu[ ]->select_bottom_color | string | 自定义底部按钮组-选中状态-底部颜色 |
bottom_menu[ ]->default_top_color | string | 自定义底部按钮组-默认状态-顶部颜色 |
bottom_menu[ ]->default_bottom_color | string | 自定义底部按钮组-默认状态-底部颜色 |
bottom_menu[ ]->select_image_url | string | 底部栏装修-选中时icon链接 |
bottom_menu[ ]->default_image_url | string | 底部栏装修-未选中时icon链接 |
bottom_menu[ ]->is_decorate | string | 是否装修,未开启装修时使用4个颜色字段,开启装修后使用2个icon链接字段 |
search_state | int | 是否显示ios搜索框 0不显示 1显示 |
member_cancel_status | int | 是否开启用户注销 0关闭 1开启 |
message_open_state | int | 是否显示系统消息 0不显示 1显示 |
hide_h5_close | int | 是否隐藏H5关闭按钮 0不隐藏 1隐藏 |