企业微信hook接口是指将企业微信的功能封装成dll,并提供简易的接口给程序调用。通过hook技术,可以在不修改企业微信客户端源代码的情况下,实现对企业微信客户端的功能进行扩展和定制化。企业微信hook接口可以实现自动化操作、消息推送、数据采集等功能,方便企业进行管理和运营。
请求说明
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
type | 是 | int | 类型 |
sendId | 是 | string | 要发送的人id |
title | 是 | string | 标题 |
des | 是 | string | 简介 |
headImgUrl | 是 | string | 头像 |
titleImg | 是 | string | 封面图 |
appid | 是 | string | appid 接收小程序消息获取 |
wechatId | 是 | string | 接收获取 |
path | 是 | string | 请求地址 |
syncKey | 是 | string | 同步key |
请求示例
{
"type": 101002,
"data": {
"sendId": "7881302555913738",
"title": "测试标题",
"des": "测试简介",
"headImgUrl": "http://mmbiz.qpic.cn/mmbiz_png/BMAjdIR5qwChFiaRnxUTiadJicGwMpqchXVdfQQ67tHTzfgd0gkibupgeOKtHtyE9m9SZopHXxcpsSicWxzLKXwk0qA/640?wx_fmt=png&wxfrom=200",
"titleImg": "C:\\Users\\changgeng\\Desktop\\IMG_1764.jpg",
"appid": "wx45dff5234240ad90",
"wechatId": "gh_c4a2a98a7366@app",
"path": "pages/train/index/index.html",
"syncKey": "1634845750"
}
}
返回示例
{
"data": {
"appid": "wx45dff5234240ad90",
"desc": "测试标题",
"is_pc_send": 1,
"is_room": 0,
"msg_id": 1037707,
"msgtype": 78,
"pagepath": "pages/train/index/index.html",
"receiver": "1688853790599424", //发送人
"sender": "1688853790599424", //发送人
"sendtime": 1634845750,
"synckey": "1634845750",
"thumbAESKey": "34363462616362306263643131373332",
"thumbFileId": "30818b0201020481833081800201000204ea44290002030f55ca0204f8ac1c3c02046171c41e04444e45574944315f6561343432393030663861633163336336313731633433365f39373066353465382d306239362d343731642d393230332d313334346261616339363763020100020300ec5004109e97c575531cd1b8bc720b0a4701e31d0201010201000400",
"thumbMD5": "9e97c575531cd1b8bc720b0a4701e31d",
"title": "测试简介",
"username": "gh_c4a2a98a7366@app",
"weappIconUrl": "http://mmbiz.qpic.cn/mmbiz_png/BMAjdIR5qwChFiaRnxUTiadJicGwMpqchXVdfQQ67tHTzfgd0gkibupgeOKtHtyE9m9SZopHXxcpsSicWxzLKXwk0qA/640?wx_fmt=png&wxfrom=200"
},
"errcode": 0,
"errmsg": "ok",
"type": 101002
}
技术支持
string wechat="Mrzhu0107"