简要描述:
- 获取播放内容
接口版本:
| 版本号 | 制定人 | 制定日期 | 修订日期 |
|---|---|---|---|
| 3.3.0 | 朱小乾 | 2022-11-11 | - |
请求URL:
- /api/media/mediaTerminal/getContentByMacAddress
请求方式:
- GET
请求头:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| Content-Type | 是 | string | 请求类型: application/json |
请求参数:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| macAddress | 是 | string | mac地址 |
返回示例:
正确时返回:
{"code": 1,"message": "操作成功","data": {"name": "医生","description": "string","groups": null,"templateId": 1,"templateH": "string","templateV": "string","templateForm": "[{\"id\":1,\"key\":\"name\",\"label\":\"医生名字\",\"type\":\"input\",\"properties\":{\"maxLength\":10,\"placeholder\":\"请输入医生名字\"}},{\"id\":2,\"key\":\"aaa\",\"label\":\"医生人数\",\"type\":\"num-input\",\"properties\":{\"maxLength\":10,\"placeholder\":\"请输入医生名字\",\"min\":1,\"max\":20}},{\"id\":3,\"key\":\"images\",\"label\":\"医生头像\",\"type\":\"image\",\"properties\":{\"list-type\":\"picture-card\",\"limit\":2,\"action\":\"http://192.168.5.172:8890/api/UploadFile/Upload\",\"image-preview\":true}},{\"id\":\"11\",\"key\":\"info\",\"label\":\"医生介绍\",\"type\":\"rich-text\"},{\"id\":4,\"key\":\"videos\",\"label\":\"医生视频\",\"type\":\"video\",\"properties\":{\"list-type\":\"text\",\"limit\":3,\"accept\":\".mp4,.mov\",\"action\":\"http://192.168.5.172:8890/api/UploadFile/Upload\"}},{\"id\":5,\"key\":\"select1\",\"label\":\"下拉菜单\",\"type\":\"select\",\"properties\":{\"options\":[{\"label\":\"1\",\"value\":\"1\"},{\"label\":\"2\",\"value\":\"2\"}],\"multiple\":true,\"placeholder\":\"请选择下拉菜单\"}},{\"id\":5,\"key\":\"select12\",\"label\":\"下拉菜单\",\"type\":\"select\",\"properties\":{\"options\":[{\"label\":\"1\",\"value\":\"1\"},{\"label\":\"2\",\"value\":\"2\"}],\"multiple\":false}}]","formContent": "{\"name\":\"122\",\"aaa\":1,\"select1\":[\"1\"],\"select12\":\"1\",\"info\":\"<div style=\\\"text-align: left;\\\"><span style=\\\"color: var(--color-text-2); white-space: initial;\\\">1212</span></div>\"}","durationType": 0,"duration": 0,"isDefault": false,"endTime": null,"sceneId": 58,"sceneName": null}}
错误时返回:
返回参数说明:
| 参数名 | 类型 | 说明 |
|---|---|---|
备注:
-
文档更新时间: 2022-11-16 09:26