通讯录/添加好友(wxid)

简要描述

  • 通过wxid添加好友,只能添加有交集的人(以前是好友或在同一个群聊)

请求URL

  • http://127.0.0.1:8888/api/

请求方式

  • POST

参数

参数名必选类型说明
typeint接口编号
userNamestringwxid
messagestring验证信息

请求示例

 {
  "type": 10034,
  "userName": "wxid_xxxx",
  "message": "我是xxx"
 } 
 只能添加有交集的人(以前是好友或在同一个群聊)

返回示例

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

返回参数说明

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

备注