收藏夹/添加链接收藏

简要描述

  • 添加链接收藏。

请求URL

  • http://127.0.0.1:8888/api/

请求方式

  • POST

参数

参数名必选类型说明
typeint接口编号
fromUserNamestring消息来源用户wxid
toUserNamestring消息接收用户wxid
urlstring链接地址
pageDescstring描述信息
pageTitlestring标题
thumbFilePathstring要显示的缩略图存储路径
msgSourceIDstring关联的消息id

请求示例

 {
  "type": 10121,
  "fromUserName": "wxid_xxxx",
  "toUserName": "filehelper",
  "url": "https://www.baidu.com/",
  "pageDesc": "百度一下,你就知道",
  "pageTitle": "百度搜索",
  "thumbFilePath": "D:\\123456.png",
  "msgSourceID": "18446744073711111111",
 }

返回示例

  {
    "data": {
      "status": 0,
      "desc": "",
    }
  }

返回参数说明

参数名类型说明
error_codeint错误代码
descriptionstring错误描述
datajson业务数据

备注