- 用户端
- 登录注册
- 服务
- 评价
- 基础配置
- 师傅
- 用户
- 订单
- 支付
- 广告
- 地区
- 搜索
- 管理后台
- 服务管理
- 用户管理
- 师傅管理
- 订单管理
- 广告管理
- 渠道设置
- 系统设置
- 应用管理
- 地区
- 财务管理
- 装修管理
- 师傅端
装修数据
GET
/api/decorate/page
请求参数
Query 参数
id
integer
必需
Header 参数
token
string
必需
示例值:
217ba8ac94c48c81403500017f8c13fc
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/decorate/page?id' \
--header 'token: 217ba8ac94c48c81403500017f8c13fc' \
--header 'token;'
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
id
integer
装修ID
name
string
页面名称
data
null
页面数据
meta
array [object {4}]
页面设置
示例
{
"code": 1,
"show": 0,
"msg": "",
"data": {
"id": 1,
"source": 1,
"type": 1,
"name": "商城首页",
"data": [
{
"id": "m1zxg9e6wuhlg",
"title": "搜索",
"name": "search",
"content": {
"enabled": 1,
"placeholder": "请输入项目名称"
},
"styles": {
"align": "left",
"root_bg_color": null,
"component_bg_color": "#FFFFFF",
"icon_color": "#C4BFBF",
"text_color": "#C4BFBF",
"padding_top": 10,
"padding_horizontal": 10,
"padding_bottom": 10
}
},
{
"id": "m1zxg9e6y9dsn",
"title": "首页轮播图",
"name": "banner",
"content": {
"enabled": 1,
"style": 1,
"bg_style": 0,
"data": [
{
"is_show": "1",
"image": "uploads/images/20241105/20241105125147a71ed1039.jpg",
"bg": "",
"name": "",
"link": {
"path": "/pages/goods/index?id=1",
"query": {
"id": 1,
"name": "日常保洁"
},
"type": "goods_list"
}
},
{
"is_show": "1",
"image": "uploads/images/20241105/20241105125147182075539.jpg",
"bg": "",
"name": "",
"link": {
"path": "/pages/goods/index?id=2",
"query": {
"id": 2,
"name": "深度保洁"
},
"type": "goods_list"
}
}
]
},
"styles": {
"root_bg_color": "",
"mode": "round",
"effect3d": 0,
"indicator_pos": "bottomCenter",
"border_radius": 10,
"padding_top": 0,
"padding_horizontal": 10,
"padding_bottom": 0
}
},
{
"id": "m1zxg9e6v9543",
"title": "导航菜单",
"name": "nav",
"content": {
"enabled": 1,
"navigator_type": 1,
"style": 1,
"per_line": 5,
"show_line": 2,
"data": [
{
"image": "uploads/images/20241105/20241105152343b6a6b0340.png",
"name": "日常保洁",
"link": {
"path": "/pages/goods/index?id=1",
"query": {
"id": 1,
"name": "日常保洁"
},
"type": "goods_list"
},
"is_show": "1"
},
{
"image": "uploads/images/20241105/20241105152343cae212701.png",
"name": "深度保洁",
"link": {
"path": "/pages/goods/index?id=2",
"query": {
"id": 2,
"name": "深度保洁"
},
"type": "goods_list"
},
"is_show": "1"
},
{
"image": "uploads/images/20241105/202411051523433c0915655.png",
"name": "入住保洁",
"link": {
"path": "/pages/goods/index?id=5",
"query": {
"id": 5,
"name": "租房入住保洁"
},
"type": "goods_list"
},
"is_show": "1"
},
{
"image": "uploads/images/20241105/20241105152343948636017.png",
"name": "退租保洁",
"link": {
"path": "/pages/goods/index?id=7",
"query": {
"id": 7,
"name": "租房退租保洁"
},
"type": "goods_list"
},
"is_show": "1"
},
{
"image": "uploads/images/20241105/2024110515234349a425241.png",
"name": "商铺保洁",
"link": {
"path": "/pages/goods/index?id=6",
"query": {
"id": 6,
"name": "商铺保洁"
},
"type": "goods_list"
},
"is_show": "1"
},
{
"image": "uploads/images/20241105/20241105152343036265971.png",
"name": "擦玻璃",
"link": {
"path": "/pages/goods/index?id=8",
"query": {
"id": 8,
"name": "擦玻璃"
},
"type": "goods_list"
},
"is_show": "1"
},
{
"image": "uploads/images/20241105/20241105152343316f56520.png",
"name": "电脑维修",
"link": {
"path": "/pages/goods/index?id=14",
"query": {
"id": 14,
"name": "电脑维修"
},
"type": "goods_list"
},
"is_show": "1"
},
{
"image": "uploads/images/20241105/202411051523433d0ba7653.png",
"name": "空调加氟",
"link": {
"path": "/pages/goods/index?id=10",
"query": {
"id": 10,
"name": "空调加氟"
},
"type": "goods_list"
},
"is_show": "1"
},
{
"image": "uploads/images/20241105/20241105152343d82fa7023.png",
"name": "管道疏通",
"link": {
"path": "/pages/goods/index?id=12",
"query": {
"id": 12,
"name": "地漏/浴缸疏通"
},
"type": "goods_list"
},
"is_show": "1"
},
{
"image": "uploads/images/20241105/2024110515234397e1d0746.png",
"name": "空调安装",
"link": {
"path": "/pages/goods/index?id=11",
"query": {
"id": 11,
"name": "空调移机安装"
},
"type": "goods_list"
},
"is_show": "1"
}
]
},
"styles": {
"root_bg_color": "",
"component_bg_color": "#ffffff",
"text_color": "#999999",
"padding_top": 12,
"padding_horizontal": 11,
"padding_bottom": 12,
"border_top_radius": 10,
"border_bottom_radius": 10,
"image_radius": 10
}
},
{
"title": "图片魔方",
"name": "rubik",
"content": {
"enabled": 1,
"style": 4,
"data": [
{
"url": "uploads/images/20241105/20241105140808c00f98334.jpg",
"link": {
"path": "/pages/goods/index?id=4",
"query": {
"id": 4,
"name": "全屋大扫除"
},
"type": "goods_list"
}
},
{
"url": "uploads/images/20241105/202411051408084cfa94827.jpg",
"link": {
"path": "/pages/goods/index?id=1",
"query": {
"id": 1,
"name": "日常保洁"
},
"type": "goods_list"
}
},
{
"url": "uploads/images/20241105/20241105140808e49307952.jpg",
"link": {
"path": "/pages/goods/index?id=2",
"query": {
"id": 2,
"name": "深度保洁"
},
"type": "goods_list"
}
}
]
},
"styles": {
"border_top_radius": 14,
"border_bottom_radius": 14,
"root_bg_color": "",
"image_gap": 10,
"padding_top": 5,
"padding_horizontal": 10,
"padding_bottom": 5
}
},
{
"title": "标题栏",
"name": "title-bar",
"content": {
"enabled": 1,
"title": "探索到家",
"subtitle": "专业服务,安心到家",
"show_right_btn": 0,
"btnText": "更多",
"link": {
"path": "/bundle/pages/user_address/index",
"name": "地址管理",
"type": "shop"
}
},
"styles": {
"root_bg_color": null,
"title_color": "#000000",
"title_size": 29,
"subtitle_color": "#888888",
"subtitle_size": 24,
"padding_top": 10,
"padding_horizontal": 18,
"padding_bottom": 10
}
},
{
"title": "图片魔方",
"name": "rubik",
"content": {
"enabled": 1,
"style": 1,
"data": [
{
"url": "uploads/images/20241105/202411051419418d4fb5563.jpg",
"link": {
"path": "/pages/goods/index?id=1",
"query": {
"id": 1,
"name": "日常保洁"
},
"type": "goods_list"
}
}
]
},
"styles": {
"border_top_radius": 20,
"border_bottom_radius": 20,
"root_bg_color": "",
"image_gap": 15,
"padding_top": 5,
"padding_horizontal": 10,
"padding_bottom": 5
}
},
{
"title": "图片魔方",
"name": "rubik",
"content": {
"enabled": 1,
"style": 1,
"data": [
{
"url": "uploads/images/20241105/20241105141941217052488.jpg",
"link": {
"path": "/pages/goods/index?id=5",
"query": {
"id": 5,
"name": "租房入住保洁"
},
"type": "goods_list"
}
}
]
},
"styles": {
"border_top_radius": 20,
"border_bottom_radius": 20,
"root_bg_color": "",
"image_gap": 15,
"padding_top": 5,
"padding_horizontal": 10,
"padding_bottom": 5
}
},
{
"title": "图片魔方",
"name": "rubik",
"content": {
"enabled": 1,
"style": 1,
"data": [
{
"url": "uploads/images/20241105/20241105142020d194a8974.jpg",
"link": {
"path": "/pages/goods/index?id=1",
"query": {
"id": 1,
"name": "日常保洁"
},
"type": "goods_list"
}
}
]
},
"styles": {
"border_top_radius": 20,
"border_bottom_radius": 20,
"root_bg_color": "",
"image_gap": 15,
"padding_top": 5,
"padding_horizontal": 10,
"padding_bottom": 5
}
},
{
"title": "图片魔方",
"name": "rubik",
"content": {
"enabled": 1,
"style": 1,
"data": [
{
"url": "uploads/images/20241105/202411051420202cdb90434.jpg",
"link": {
"path": "/pages/goods/index?id=18",
"query": {
"id": 18,
"name": "厨卫深度保洁"
},
"type": "goods_list"
}
}
]
},
"styles": {
"border_top_radius": 20,
"border_bottom_radius": 20,
"root_bg_color": "",
"image_gap": 15,
"padding_top": 5,
"padding_horizontal": 10,
"padding_bottom": 5
}
},
{
"title": "图片魔方",
"name": "rubik",
"content": {
"enabled": 1,
"style": 1,
"data": [
{
"url": "uploads/images/20241105/2024110514202073b873652.jpg",
"link": {
"path": "/pages/goods/index?id=8",
"query": {
"id": 8,
"name": "擦玻璃"
},
"type": "goods_list"
}
}
]
},
"styles": {
"border_top_radius": 20,
"border_bottom_radius": 20,
"root_bg_color": "",
"image_gap": 15,
"padding_top": 5,
"padding_horizontal": 10,
"padding_bottom": 5
}
},
{
"title": "标题栏",
"name": "title-bar",
"content": {
"enabled": 1,
"title": "当季精选",
"subtitle": "给你家一般的温暖",
"show_right_btn": 1,
"btnText": "更多",
"link": {
"path": "/pages/category/index",
"name": "分类页面",
"type": "shop"
}
},
"styles": {
"root_bg_color": null,
"title_color": "#000000",
"title_size": 29,
"subtitle_color": "#888888",
"subtitle_size": 24,
"padding_top": 10,
"padding_horizontal": 18,
"padding_bottom": 10
}
},
{
"title": "区域商品组",
"name": "area-goods",
"content": {
"enabled": 1,
"goods_type": 2,
"style": 1,
"show_title": true,
"show_server": true,
"show_price": true,
"show_scribing_price": true,
"show_sales": true,
"btn_text": "购买",
"show_num": 10,
"goods_list": [
{
"id": 18,
"name": "厨卫深度保洁",
"image": "https://php-smjz.yixiangonline.com/uploads/images/20241105/20241105101938fd32c2685.jpg",
"price": "249.00",
"scribing_price": "0.00",
"label": [
"高温消毒|祛除水垢|去油去污"
],
"virtual_sale_num": 1000,
"order_num": 1004,
"min_duration": 60
},
{
"id": 17,
"name": "更换电池",
"image": "https://php-smjz.yixiangonline.com/uploads/images/20241105/20241105101938d3b229614.jpg",
"price": "66.00",
"scribing_price": "0.00",
"label": [
"支持不同型号|均可更换"
],
"virtual_sale_num": 1000,
"order_num": 1001,
"min_duration": 30
},
{
"id": 16,
"name": "换屏幕",
"image": "https://php-smjz.yixiangonline.com/uploads/images/20241105/20241105101938fd32c2685.jpg",
"price": "60.00",
"scribing_price": "0.00",
"label": [
"旧屏回收|标准报价"
],
"virtual_sale_num": 1000,
"order_num": 1002,
"min_duration": 30
},
{
"id": 15,
"name": "平板电脑/iPad维修",
"image": "https://php-smjz.yixiangonline.com/uploads/images/20241105/20241105101938803282621.jpg",
"price": "9.90",
"scribing_price": "0.00",
"label": [
"报价全|售后有保障"
],
"virtual_sale_num": 1000,
"order_num": 1000,
"min_duration": 60
},
{
"id": 14,
"name": "电脑维修",
"image": "https://php-smjz.yixiangonline.com/uploads/images/20241105/20241105101938ab5bd8518.jpg",
"price": "9.90",
"scribing_price": "0.00",
"label": [
"报价标准|检测精准"
],
"virtual_sale_num": 1000,
"order_num": 1013,
"min_duration": 30
},
{
"id": 13,
"name": "马桶/蹲便/小便池疏通",
"image": "https://php-smjz.yixiangonline.com/uploads/images/20241105/202411051019388d8639754.jpg",
"price": "128.00",
"scribing_price": "0.00",
"label": [
"高效疏通|清淤排污"
],
"virtual_sale_num": 1000,
"order_num": 1001,
"min_duration": 60
},
{
"id": 12,
"name": "地漏/浴缸疏通",
"image": "https://php-smjz.yixiangonline.com/uploads/images/20241105/20241105101938fd32c2685.jpg",
"price": "99.00",
"scribing_price": "0.00",
"label": [
"随叫随到|专业疏通"
],
"virtual_sale_num": 1000,
"order_num": 1001,
"min_duration": 60
},
{
"id": 11,
"name": "空调移机安装",
"image": "https://php-smjz.yixiangonline.com/uploads/images/20241105/20241105101938fd32c2685.jpg",
"price": "80.00",
"scribing_price": "0.00",
"label": [
"服务专业|安全放心"
],
"virtual_sale_num": 1000,
"order_num": 1000,
"min_duration": 60
},
{
"id": 10,
"name": "空调加氟",
"image": "https://php-smjz.yixiangonline.com/uploads/images/20241105/20241105101938ab5bd8518.jpg",
"price": "68.00",
"scribing_price": "0.00",
"label": [
"专业加氟|快速搞定"
],
"virtual_sale_num": 1000,
"order_num": 1001,
"min_duration": 60
},
{
"id": 9,
"name": "做饭钟点工",
"image": "https://php-smjz.yixiangonline.com/uploads/images/20241105/20241105101938803282621.jpg",
"price": "66.18",
"scribing_price": "0.00",
"label": [
"家常饭菜烹饪|厨房餐厅保洁"
],
"virtual_sale_num": 1000,
"order_num": 1000,
"min_duration": 60
}
]
},
"styles": {
"title_color": "#000000",
"server_color": "#888888",
"price_color": "#fc5447",
"scribing_price_color": "#888888",
"sales_color": "#888888",
"btn_radius": 10,
"root_bg_color": "",
"component_bg_color": "#FFFFFF",
"goods_bg_color": "",
"padding_top": 5,
"padding_horizontal": 18,
"padding_bottom": 5,
"goods_horizontal": 10,
"goods_vertical": 10,
"border_top_radius": 10,
"border_bottom_radius": 10,
"image_radius": 10
}
}
],
"meta": [
{
"id": "m1zxg9e670ij4",
"title": "页面设置",
"name": "page-meta",
"content": {
"title_type": "1",
"title": "首页",
"title_img": "uploads/images/20241105/202411051417367f72f9501.png",
"bg_type": "2",
"bg_color": null,
"bg_image": "uploads/images/20241105/20241105141805bde9c5292.png",
"text_color": "2"
},
"styles": []
}
],
"create_time": "2022-08-29 15:13:08",
"update_time": "2024-11-14 14:19:25"
}
}
修改于 2024-11-14 08:54:03