企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
##自定义模板基础信息 ~~~[api] post:/api/diyview/info id#模板id name#模板名称 <<< success { "code": 0, "message": "操作成功", "data": { "id": 113, "site_id": 1, "name": "DIY_VIEW_RANDOM_1594258701", "title": "网站主页", "value": "{\"global\":{\"title\":\"网站主页\",\"openBottomNav\":true,\"bgColor\":\"#ffffff\",\"\":\"\",\"bgUrl\":\"\"},\"value\":[{\"addon_name\":\"\",\"type\":\"IMAGE_ADS\",\"name\":\"图片广告\",\"controller\":\"ImageAds\",\"selectedTemplate\":\"carousel-posters\",\"imageClearance\":0,\"height\":\"\",\"list\":[{\"imageUrl\":\"upload\/default\/diy_view\/posters.png\",\"title\":\"\",\"link\":[]}]},{\"height\":10,\"backgroundColor\":\"#ffffff\",\"addon_name\":\"\",\"type\":\"HORZ_BLANK\",\"name\":\"辅助空白\",\"controller\":\"HorzBlank\",\"\":\"\"},{\"textColor\":\"#666666\",\"backgroundColor\":\"\",\"selectedTemplate\":\"imageNavigation\",\"scrollSetting\":\"fixed\",\"imageScale\":\"70\",\"padding\":0,\"paddingTopBottom\":5,\"paddingLeftRight\":0,\"list\":[{\"imageUrl\":\"upload\/common\/images\/20200606\/20200606041831159143151124866.png\",\"title\":\"拼团\",\"link\":{\"id\":2803,\"addon_name\":\"pintuan\",\"addon_title\":\"拼团\",\"name\":\"PINTUAN_LIST\",\"title\":\"拼团列表\",\"web_url\":\"\",\"wap_url\":\"\/promotionpages\/pintuan\/list\/list\",\"icon\":\"\",\"addon_icon\":\"addon\/pintuan\/icon.png\",\"selected\":false}},{\"imageUrl\":\"upload\/common\/images\/20200606\/20200606041854159143153425346.png\",\"title\":\"团购\",\"link\":{\"id\":2804,\"addon_name\":\"groupbuy\",\"addon_title\":\"团购\",\"name\":\"GROUPBUY_LIST\",\"title\":\"团购列表\",\"web_url\":\"\",\"wap_url\":\"\/promotionpages\/groupbuy\/list\/list\",\"icon\":\"\",\"addon_icon\":\"addon\/groupbuy\/icon.png\",\"selected\":false}},{\"imageUrl\":\"upload\/common\/images\/20200606\/20200606041905159143154533541.png\",\"title\":\"秒杀\",\"link\":{\"id\":2802,\"addon_name\":\"seckill\",\"addon_title\":\"限时秒杀\",\"name\":\"SECKILL_LIST\",\"title\":\"秒杀列表\",\"web_url\":\"\",\"wap_url\":\"\/promotionpages\/seckill\/list\/list\",\"icon\":\"\",\"addon_icon\":\"addon\/seckill\/icon.png\",\"selected\":false}},{\"imageUrl\":\"upload\/common\/images\/20200606\/20200606041917159143155702439.png\",\"title\":\"积分商城\",\"link\":{\"id\":2869,\"addon_name\":\"\",\"addon_title\":null,\"name\":\"POINT_INDEX\",\"title\":\"积分商城\",\"web_url\":\"\",\"wap_url\":\"\/promotionpages\/point\/list\/list\",\"icon\":\"\",\"addon_icon\":null,\"selected\":false}},{\"imageUrl\":\"upload\/common\/images\/20200606\/20200606041927159143156730462.png\",\"title\":\"专题活动\",\"link\":{\"id\":2871,\"addon_name\":\"\",\"addon_title\":null,\"name\":\"TOPIC_LIST\",\"title\":\"专题活动\",\"web_url\":\"\",\"wap_url\":\"\/promotionpages\/topics\/list\/list\",\"icon\":\"\",\"addon_icon\":null,\"selected\":false}}],\"addon_name\":\"\",\"type\":\"GRAPHIC_NAV\",\"name\":\"图文导航\",\"controller\":\"GraphicNav\",\"defaultTextColor\":\"\",\"\":\"\"},{\"textColor\":\"#666666\",\"backgroundColor\":\"\",\"selectedTemplate\":\"imageNavigation\",\"scrollSetting\":\"fixed\",\"imageScale\":\"70\",\"padding\":0,\"paddingTopBottom\":5,\"paddingLeftRight\":0,\"list\":[{\"imageUrl\":\"upload\/common\/images\/20200606\/20200606042705159143202510493.png\",\"title\":\"品牌专区\",\"link\":{}},{\"imageUrl\":\"upload\/common\/images\/20200606\/20200606042716159143203666388.png\",\"title\":\"发现\",\"link\":{}},{\"imageUrl\":\"upload\/common\/images\/20200606\/20200606042724159143204476447.png\",\"title\":\"领券\",\"link\":{\"id\":2870,\"addon_name\":\"\",\"addon_title\":null,\"name\":\"COUPON_LIST\",\"title\":\"领券中心\",\"web_url\":\"\",\"wap_url\":\"\/otherpages\/goods\/coupon\/coupon\",\"icon\":\"\",\"addon_icon\":null,\"selected\":false}},{\"imageUrl\":\"upload\/common\/images\/20200606\/20200606042734159143205413165.png\",\"title\":\"公告\",\"link\":{\"id\":2867,\"addon_name\":\"\",\"addon_title\":null,\"name\":\"NOTICE_LIST\",\"title\":\"公告列表\",\"web_url\":\"\",\"wap_url\":\"\/otherpages\/notice\/list\/list\",\"icon\":\"\",\"addon_icon\":null,\"selected\":false}},{\"imageUrl\":\"upload\/common\/images\/20200606\/20200606042743159143206324686.png\",\"title\":\"帮助\",\"link\":{\"id\":2868,\"addon_name\":\"\",\"addon_title\":null,\"name\":\"HELP_LIST\",\"title\":\"帮助中心\",\"web_url\":\"\",\"wap_url\":\"\/otherpages\/help\/list\/list\",\"icon\":\"\",\"addon_icon\":null,\"selected\":false}}],\"addon_name\":\"\",\"type\":\"GRAPHIC_NAV\",\"name\":\"图文导航\",\"controller\":\"GraphicNav\",\"defaultTextColor\":\"\",\"\":\"\"},{\"addon_name\":\"\",\"type\":\"RUBIK_CUBE\",\"name\":\"魔方\",\"controller\":\"RubikCube\",\"selectedTemplate\":\"row1-lt-of2-rt\",\"list\":[{\"imageUrl\":\"upload\/default\/diy_view\/mofang_zhekozhuanqu.png\",\"link\":{\"id\":231,\"addon_name\":\"seckill\",\"addon_title\":\"限时秒杀\",\"name\":\"SECKILL_LIST\",\"title\":\"秒杀列表\",\"web_url\":\"\",\"wap_url\":\"\/promotionpages\/seckill\/list\/list\",\"icon\":\"\",\"addon_icon\":\"addon\/seckill\/icon.png\",\"selected\":false}},{\"imageUrl\":\"upload\/default\/diy_view\/mofang_brand_zhuanqu.png\",\"link\":{\"id\":329,\"addon_name\":\"\",\"addon_title\":null,\"name\":\"BRAND_LIST\",\"title\":\"品牌专区\",\"web_url\":\"\",\"wap_url\":\"\/otherpages\/goods\/brand\/brand\",\"icon\":\"\",\"addon_icon\":null,\"selected\":false}},{\"imageUrl\":\"upload\/default\/diy_view\/mofang_xianshizheko.png\",\"link\":[]}],\"selectedRubikCubeArray\":[],\"diyHtml\":\"\",\"customRubikCube\":4,\"heightArray\":[\"74.25px\",\"59px\",\"48.83px\",\"41.56px\"],\"imageGap\":0,\"backgroundColor\":\"#333333\",\"\":\"\"},{\"selectedTemplate\":\"default\",\"addon_name\":\"\",\"type\":\"ADMIN_COUPON\",\"name\":\"平台优惠券\",\"controller\":\"AdminCoupon\"},{\"height\":10,\"backgroundColor\":\"#f4f4f4\",\"addon_name\":\"\",\"type\":\"HORZ_BLANK\",\"name\":\"辅助空白\",\"controller\":\"HorzBlank\",\"\":\"\"},{\"selectedTemplate\":\"vertically\",\"imageClearance\":0,\"height\":\"110\",\"list\":[{\"imageUrl\":\"upload\/default\/diy_view\/index_groupbuy_gg.png\",\"title\":\"\",\"link\":{\"id\":277,\"addon_name\":\"\",\"addon_title\":null,\"name\":\"GROUPBUY_LIST\",\"title\":\"团购专区\",\"web_url\":\"\",\"wap_url\":\"\/promotionpages\/groupbuy\/list\/list\",\"icon\":\"\",\"addon_icon\":null,\"selected\":false}}],\"addon_name\":\"\",\"type\":\"IMAGE_ADS\",\"name\":\"图片广告\",\"controller\":\"ImageAds\"},{\"sources\":\"category\",\"skuId\":\"\",\"categoryId\":0,\"goodsCount\":\"6\",\"addon_name\":\"\",\"type\":\"GOODS_LIST\",\"name\":\"商品列表\",\"controller\":\"GoodsList\",\"backgroundColor\":\"#333333\",\"\":\"\"},{\"sources\":\"default\",\"style\":\"2\",\"couponCount\":\"6\",\"backgroundColor\":\"#ffffff\",\"padding\":0,\"status\":1,\"couponIds\":[],\"addon_name\":\"coupon\",\"type\":\"COUPON\",\"name\":\"优惠券\",\"controller\":\"Coupon\"}]}", "type": "shop", "addon_name": null }, "timestamp": 1595390611 } <<< error 这里填写错误的返回码 以此类推,每个状态使用 <<< 分割, 第一行添加状态名称 ~~~