简要描述:
- 话术库侧边栏-获取发送内容
请求域名:
- http://xx.com
请求URL:
plugin.speechcraft-library.frontend.controller.member.Material.getHeadContent
参数:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| cate_type | 是 | string | 导航栏类型 goods 商品 article 文章 communities 微社区 video 短视频 message-base |
| option_id | 是 | int | 记录id |
返回示例:
正确时返回:
{
"result": 1,
"msg": "success",
"data": {
"describe": "",
"type": "link",
"title": "A餐午(次日)",
"appid":"wxf132131gerre",
"page": "/packageA/detail_v2/detail_v2?id=1",
"link_img": "http://119.91.205.224/static/upload/images/attachment/15/2022/09/A餐午.png"
}
}
错误时返回:
返回参数说明:
| 参数名 | 类型 | 说明 |
|---|---|---|
| type | string | applet 小程序 link h5链接 |
| describe | string | 描述 |
| title | string | 标题 |
| link_img | string | 小程序/h5链接 封面 |
| link | string | h5跳转链接 当type为link时有该参数 |
| page | string | 小程序跳转链接 当type为applet时有该参数 |
| media_id | string | 媒体id 当type为applet时有该参数 |
| appid | string | appid 当type为applet时有该参数 |