收藏夹/添加文件收藏

简要描述

  • 添加文件收藏。

请求URL

  • http://127.0.0.1:8888/api/

请求方式

  • POST

参数

参数名必选类型说明
typeint接口编号
fromUserNamestring消息来源用户wxid
toUserNamestring消息接收用户wxid
filePathstring文件存储路径
msgSourceIDstring关联的消息id

请求示例

 {
  "type": 10118,
  "fromUserName": "wxid_xxxx",
  "toUserName": "filehelper",
  "filePath": "D:\\123456.txt",
  "msgSourceID": "184467440711111111",
 }

返回示例

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

返回参数说明

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

备注