- 页面
- 用户
- 角色和权限
- 上传文件和图片
- 支付
- 搜索
- 帮助中心
- 模板
- 后台接口
获取某模板具体信息(含json)
GET
/api/template/detail
请求参数
Query 参数
id
string
必需
示例值:
64075ff8ff4eac2e348c8e3f
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://47.92.1.39:8005/api/template/detail?id=64075ff8ff4eac2e348c8e3f'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{ "success": true, "errCode": null, "errMessage": null, "data": { "id": "64058e21eb3680101a3f2ef9", "config": { "container": { "height": 3500 }, "blocks": [ { "bgcImage": null, "rotate": 0, "boxShadow": { "color": "#000", "blurRadius": 0, "x": 0, "y": 0, "SpreadRadius": 0 }, "zoom": 1, "componentProps": { "mode": "dark", "path": [ { "path": "/", "label": "主页", "child": null }, { "path": "/mbc", "label": "Mbc", "child": null }, { "path": "https://www.apple.com.cn/ipad/", "label": "iPod", "child": null }, { "path": "https://www.apple.com.cn/iphone/", "label": "ipple", "child": null }, { "path": "https://www.apple.com.cn/watch/", "label": "Watch", "child": null }, { "path": "https://www.apple.com.cn/airpods/", "label": "airPads", "child": null }, { "path": "/denglu", "label": "登陆", "child": null } ] }, "bgcColor": null, "top": 0, "size": 16, "borderRadius": 0, "left": 57, "width": 1208, "text": "请输入文本内容", "opacity": 1, "key": "导航栏", "fontColor": null, "fontWeight": "normal", "zIndex": 1, "height": 52, "bgcSize": "cover" }, { "bgcImage": null, "rotate": 0, "boxShadow": { "color": "white", "blurRadius": 0, "x": 0, "y": 0, "SpreadRadius": 0 }, "zoom": 1, "bgcColor": "rgba(255, 255, 255, 1)", "top": 50, "size": 16, "borderRadius": 0, "left": 0, "width": 1500, "text": "", "opacity": 1, "key": "网站模块背景", "fontColor": null, "fontWeight": "normal", "zIndex": -1, "height": 3450, "bgcSize": "cover" }, { "bgcImage": null, "rotate": 0, "boxShadow": { "color": "#000", "blurRadius": 0, "x": 0, "y": 0, "SpreadRadius": 0 }, "link": "https://www.apple.com.cn/", "zoom": 1, "componentProps": { "fit": "cover", "src": "https://img-blog.csdnimg.cn/3eaf60d031cd427491abe0dbf5824c07.png", "lazy": false, "alt": "", "loading": "eager" }, "bgcColor": null, "top": 50, "size": 16, "borderRadius": 0, "left": 0, "width": 1500, "text": "请输入文本内容", "opacity": 1, "key": "图片", "fontColor": null, "fontWeight": "normal", "zIndex": 1, "height": 650, "bgcSize": "cover" },
修改于 2023-03-08 15:25:42