简要描述:

  • 装修组件分页(每次加载10个组件)

请求域名:

  • http://xx.com

请求URL:

plugin.decorate.frotend.decorate-api.get-page

参数:

参数名 是否必须 类型 说明
decorate_id int 装修ID
decorate_page int 页码(默认第一页)

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "success",
    "data": {
        "id": 106,
        "uniacid": 1,
        "member_level": "",
        "top_id": 0,
        "foot_type": 1,
        "foot_id": 0,
        "page_info": "{\"full_screen_id\":{},\"advertising_id\":{}}",
        "page_name": "商品不查询VIP价格测试5",
        "page_type": "1,3,4,5",
        "page_scene": 1,
        "is_default": 1,
        "datas":"[{\"id\":\"M1607917118868\",\"component_key\":\"U_form\",\"component_title\":\"\表\单\",\"template_id\":27,\"remote_data\":{\"preview_color\":{\"isColor\":\"1\",\"color\":\"#ffffff\",\"image\":\"\"},\"form\":[],\"list\":[]}},{\"id\":\"M1607917119160\",\"component_key\":\"U_cube\",\"component_title\":\"\图\片\组\合\",\"template_id\":11,\"remote_data\":{\"picture\":{\"density\":4,\"icon\":\"1\",\"cudeSelected\":[{\"id\":1,\"value\":{\"image\":\"\",\"is_minApp\":\"1\",\"h5_link\":\"\",\"gh_id\":\"\",\"minApp_link\":\"\"},\"start\":{\"x\":1,\"y\":1},\"end\":{\"x\":2,\"y\":2},\"data\":[{\"x\":1,\"y\":1,\"cube\":\"1-1\"},{\"x\":1,\"y\":2,\"cube\":\"1-2\"},{\"x\":2,\"y\":1,\"cube\":\"2-1\"},{\"x\":2,\"y\":2,\"cube\":\"2-2\"}]},{\"id\":3,\"value\":{\"image\":\"\",\"is_minApp\":\"1\",\"h5_link\":\"\",\"gh_id\":\"\",\"minApp_link\":\"\"},\"start\":{\"x\":1,\"y\":3},\"end\":{\"x\":2,\"y\":4},\"data\":[{\"x\":1,\"y\":3,\"cube\":\"1-3\"},{\"x\":1,\"y\":4,\"cube\":\"1-4\"},{\"x\":2,\"y\":3,\"cube\":\"2-3\"},{\"x\":2,\"y\":4,\"cube\":\"2-4\"}]}]},\"preview_color\":\"#ffffff\",\"margin\":0,\"currentItem\":{\"id\":1,\"value\":{\"image\":\"\",\"is_minApp\":\"1\",\"h5_link\":\"\",\"gh_id\":\"\",\"minApp_link\":\"\"},\"start\":{\"x\":1,\"y\":1},\"end\":{\"x\":2,\"y\":2},\"data\":[{\"x\":1,\"y\":1,\"cube\":\"1-1\"},{\"x\":1,\"y\":2,\"cube\":\"1-2\"},{\"x\":2,\"y\":1,\"cube\":\"2-1\"},{\"x\":2,\"y\":2,\"cube\":\"2-2\"}]},\"selectedArr\":[],\"currentItemId\":1}},{\"id\":\"M1607917120817\",\"component_key\":\"U_community\",\"component_title\":\"\微\社\区\",\"template_id\":24,\"remote_data\":{\"get_number\":10,\"preview_color\":\"#ffffff\",\"tab_bg\":\"#ffffff\",\"title_color\":\"#333\",\"title_active_color\":\"#ff2c29\"}},{\"id\":\"M1607917121945\",\"component_key\":\"U_maps\",\"component_title\":\"\地\图\",\"template_id\":18,\"remote_data\":{\"map_height\":250,\"map_position\":{\"address\":\"\地\址\",\"lng\":\"\",\"lat\":\"\"},\"show_address\":true,\"address_font_size\":12,\"address_font_color\":\"#ffffff\",\"show_business\":true,\"business_title\":\"\公\司\名\称\",\"business_font_size\":14,\"business_font_color\":\"#ffffff\",\"bg_color\":\"#5f5f5f\",\"icon_color\":\"#ffffff\",\"icon_bg_color\":\"#0090ff\",\"show_address_icon\":true,\"show_phone_icon\":true,\"phone_title\":\"\"}},{\"id\":\"M1607917122257\",\"component_key\":\"U_cube\",\"component_title\":\"\图\片\组\合\",\"template_id\":11,\"remote_data\":{\"picture\":{\"density\":4,\"icon\":\"1\",\"cudeSelected\":[{\"id\":1,\"value\":{\"image\":\"\",\"is_minApp\":\"1\",\"h5_link\":\"\",\"gh_id\":\"\",\"minApp_link\":\"\"},\"start\":{\"x\":1,\"y\":1},\"end\":{\"x\":2,\"y\":2},\"data\":[{\"x\":1,\"y\":1,\"cube\":\"1-1\"},{\"x\":1,\"y\":2,\"cube\":\"1-2\"},{\"x\":2,\"y\":1,\"cube\":\"2-1\"},{\"x\":2,\"y\":2,\"cube\":\"2-2\"}]},{\"id\":3,\"value\":{\"image\":\"\",\"is_minApp\":\"1\",\"h5_link\":\"\",\"gh_id\":\"\",\"minApp_link\":\"\"},\"start\":{\"x\":1,\"y\":3},\"end\":{\"x\":2,\"y\":4},\"data\":[{\"x\":1,\"y\":3,\"cube\":\"1-3\"},{\"x\":1,\"y\":4,\"cube\":\"1-4\"},{\"x\":2,\"y\":3,\"cube\":\"2-3\"},{\"x\":2,\"y\":4,\"cube\":\"2-4\"}]}]},\"preview_color\":\"#ffffff\",\"margin\":0,\"currentItem\":{\"id\":1,\"value\":{\"image\":\"\",\"is_minApp\":\"1\",\"h5_link\":\"\",\"gh_id\":\"\",\"minApp_link\":\"\"},\"start\":{\"x\":1,\"y\":1},\"end\":{\"x\":2,\"y\":2},\"data\":[{\"x\":1,\"y\":1,\"cube\":\"1-1\"},{\"x\":1,\"y\":2,\"cube\":\"1-2\"},{\"x\":2,\"y\":1,\"cube\":\"2-1\"},{\"x\":2,\"y\":2,\"cube\":\"2-2\"}]},\"selectedArr\":[],\"currentItemId\":1}},{\"id\":\"M1607917123782\",\"component_key\":\"U_goods\",\"component_title\":\"\商\品\列\表\",\"template_id\":3,\"remote_data\":{\"preview_color\":\"#F1F1F1\",\"sort_style\":{\"choose_icon\":\"2\"},\"padding_top\":0,\"padding_bottom\":0,\"padding_left\":10,\"padding_right\":10,\"item_radius\":15,\"show_shadow\":false,\"show_border\":false,\"border_color\":\"#BFB7B7\",\"good_tag\":{\"choose_icon\":\"0\",\"image\":\"\"},\"button_type\":\"1\",\"button_title\":\"\立\即\购\买\",\"button_bg_color\":\"#ff2c29\",\"button_color\":\"#ffffff\",\"content_list\":[\"1\",\"2\",\"3\",\"4\",\"7\",\"5\",\"6\",\"8\"],\"show_price_text\":true,\"disable_good\":\"0\",\"list\":{\"data\":null},\"goods_type\":\"category\"}},{\"id\":\"M1607917124349\",\"component_key\":\"U_shopfor\",\"component_title\":\"\店\招\",\"template_id\":14,\"remote_data\":{\"preview_image\":\"\",\"margin_top\":0,\"margin_bottom\":0,\"margin_left\":0,\"margin_right\":0,\"shop_style\":\"1\",\"show_logo\":true,\"logo_size\":40,\"show_name\":true,\"font_size\":18,\"font_color\":\"#fff\"}},{\"id\":\"M1607917125588\",\"component_key\":\"U_notice\",\"component_title\":\"\公\告\",\"template_id\":7,\"remote_data\":{\"preview_color\":{\"isColor\":\"1\",\"color\":\"#ffffff\",\"image\":\"\"},\"is_showIcon\":true,\"is_scroll\":true,\"search_height\":45,\"search_title\":\"\公\告\内\容\",\"font_size\":14,\"text_style\":[],\"font_color\":\"#666666\",\"notice_link\":{\"is_h5\":\"1\",\"link\":\"\",\"gh_id\":\"\",\"minApp_link\":\"\"}}},{\"id\":\"M1607917126836\",\"component_key\":\"U_location\",\"component_title\":\"\定\位\",\"template_id\":5,\"remote_data\":{\"preview_color\":{\"isColor\":\"1\",\"color\":\"#e6e6e6\",\"image\":\"\"},\"location_style\":\"1\",\"search_title\":\"\附\近\商\家\商\品\",\"search_border_radius\":5,\"border_style\":\"0\",\"border_color\":\"#333333\",\"bg_color\":\"#ffffff\",\"font_color\":\"#333333\",\"city_font_color\":\"#333333\"}},{\"id\":\"M1607917127864\",\"component_key\":\"U_simplegraph\",\"component_title\":\"\单\图\",\"template_id\":21,\"remote_data\":{\"padding_top\":0,\"padding_bottom\":0,\"padding_left\":0,\"padding_right\":0,\"picture_border\":0,\"list\":[{\"id\":1,\"image\":\"https:\\/\\/img.alicdn.com\\/imgextra\\/i2\\/3910636752\\/O1CN01xTX2Ts1zkSsPqt0cg_!!3910636752.png\",\"is_minApp\":\"1\",\"h5_link\":\"\",\"gh_id\":\"\",\"minApp_link\":\"\",\"text\":\"\文\本\"}],\"choose_style\":\"2\"}}]",
        "created_at": "2020-11-11 10:16:41",
        "updated_at": "2020-12-14 11:38:28",
        "deleted_at": 0,
        "page_sort": 1,
        "page": {
            "total_page": 2,
            "current_page": 2
        },
        "temps": [
            "form",
            "cube",
            "community",
            "maps",
            "cube",
            "goods",
            "shopfor",
            "notice",
            "location",
            "simplegraph"
        ]
    }
}

备注:

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