发送文字朋友圈消息

[!DANGER]

  • 微信需在线三天后使用本接口,否则微信团队会提示不可使用副设备发送

简要描述:

  • 发送文字朋友圈消息

请求URL:

  • http://域名地址/snsSend

请求方式:

  • POST

请求头Headers:

  • Content-Type:application/json
  • Authorization:login接口返回 参数:
参数名 必选 类型 说明
wId String 登录实例标识
content String 文本内容
groupUser String 对谁可见(传微信id,多个用,分隔)
blackList String 对谁不可见(传微信id,多个用,分隔)

请求参数示例

{
    "wId": "0000016e-6343-089e-0001-e2ef939176f6",
    "content": "这是一条文本朋友圈消息"
}

成功返回示例

{
    "message": "成功",
    "code": "1000",
    "data": {
        "id": "13200538655176208452",
        "userName": "wxid_6mq1pu8ngj3r22",
        "createTime": 1573626834,
        "objectDesc": "这是一条文本朋友圈消息"
    }
}

错误返回示例

{
    "message": "失败",
    "code": "1001",
    "data": null
}

返回数据:

参数名 类型 说明
code string 1000成功,1001失败
msg String 反馈信息
data
id String ID
userName String 微信id
createTime String 发送时间
objectDesc String 内容
Copyright © wkteam.cn 2020 all right reserved,powered by Gitbook该文件修订时间: 2023-12-04 12:28:30

results matching ""

    No results matching ""