PCHOOK(3.9.10.19)讲解分析,pcap分析工具

PCHOOK(3.9.10.19)讲解分析.版本 2.程序集 集_微信功能.子程序 Send_Data
.参数 客户端, 整数型
.参数 json_cont, 文本型logdebug (“客户端:” + 到文本 (客户端))

.版本2

.组装Set_微信函数

.子程序Send_Data

.参数client,整数类型

.参数json_cont,文本类型

logdebug(“client:”+文本(客户端))

日志调试(“json_cont:”+ json_cont)

sendHpSocketData(客户端,encoding_gb2312 到utf8(json_cont))

.subroutine function_get性别、文本类型

.参数性别,文本类型可以为空

.局部变量性别、文本类型

.如果为真(性别=“”)

返回(”-”)

.如果真的结束了

.if(性别=“1”)

性别=“男”。否则

性别=“女”

.如果结束

返回(性别)

.子程序注销

.参数client,整数类型

.local变量json,json对象

json.setInteger(\”类型\”, 105023)

json.settext(\”数据/同步密钥\”, \”1634835011\”)

Send_Data(客户端, json.toJSON())

.子程序函数_账户信息获取

.参数client,整数类型

.local变量json,json对象

json.setInteger(\”类型\”, 102016)

json.setText(\”数据/同步密钥\”, \”1634835359\”)

Send_Data(客户端, json.toJSON())

.子程序函数_获取公司信息列表

.参数client,整数类型

.local变量json,json对象

json.setInteger(\”类型\”, 107001)

json.settext(\”数据/同步密钥\”, \”1634837234\”)

Send_Data(客户端, json.toJSON())

.子程序函数_个人二维码获取

.参数client,整数类型

.local变量json,json对象

json.setInteger(\”类型\”, 102010)

json.settext(\”数据/同步密钥\”, \”1634844725\”)

Send_Data(客户端, json.toJSON())

.subroutine function_获取外部联系人

.参数client,整数类型

.local变量json,json对象

json.setInteger(\”类型\”, 102001)

json.settext(\”数据/同步密钥\”, \”1634836002\”)

json.set integer(\”data/page_num\”, 1) \’当前页码

json.set integer(\”data/page_size\”, 20000) \’ 每页显示数量

Send_Data(客户端, json.toJSON())

.子程序函数_获取内部联系人

.参数client,整数类型

.局部变量json,json对象

json.setInteger(\”类型\”, 11126)

Send_Data(客户端, json.toJSON())

.子程序小程序需要代码

.参数client,整数类型

.local变量json,json对象

json.setInteger(\”类型\”, 11232)

json.settext(“数据/应用程序ID”, “wx860c288aad2766a2”)

Send_Data(客户端, json.toJSON())

.subroutine同步小程序接收代码

.参数client,整数类型

.local变量json,json对象

json.setInteger(\”类型\”, 11232)

json.settext(“数据/应用程序ID”, “wx860c288aad2766a2”)

getCode(客户端, json.toJSON())

.子程序函数_获取组列表

.参数client,整数类型

.local变量json,json对象

json.setInteger(\”类型\”, 102003)

json.settext(\”数据/同步密钥\”, \”1634836259\”)

json.set integer(\”data/page_num\”, 1) \’当前页码

json.set integer(\”data/page_size\”, 20000) \’ 每页显示数量

Send_Data(客户端, json.toJSON())

.subroutine function_获取组成员列表

.参数client,整数类型

.参数组ID,文本类型

.局部变量json,json对象

json.setInteger(\”类型\”, 105005)

json.settext(\”数据/同步密钥\”, \”1634836551\”)

json.set text(\”data/room_id\”, 组ID)

Send_Data(客户端, json.toJSON())

.subroutine function_获取好友详细信息

.参数client,整数类型

.参数用户ID、文本类型

.local变量json,json对象

json.setInteger(\”类型\”, 102017)

json.settext(\”数据/同步密钥\”, \”1634837050\”)

json.setText(\”数据/user_id\”, 用户ID)

Send_Data(客户端, json.toJSON())

.子程序函数_部门列表获取

.参数client,整数类型

.local变量json,json对象

json.setInteger(\”类型\”, 107002)

json.settext(\”数据/同步密钥\”, \”1645195261\”)

Send_Data(客户端, json.toJSON())

.子程序Function_Friends_修改备注

.参数client,整数类型

.参数用户ID、文本类型

.参数注释、文本类型

.local变量json,json对象

json.setInteger(\”类型\”, 102011)

json.settext(\”数据/同步密钥\”, \”1634837448\”)

json.setText(\”数据/user_id\”, 用户ID)

json.set text(\”数据/备注\”,备注内容)

Send_Data(客户端, json.toJSON())

.子程序Function_Friends_Modify 说明

.参数client,整数类型

.参数用户ID、文本类型

.参数描述内容,文本类型

.local变量json,json对象

json.setInteger(\”类型\”, 102014)

json.settext(\”数据/同步密钥\”, \”1634837554\”)

json.setText(\”数据/user_id\”, 用户ID)

json.set text(\”data/des\”,描述内容)

Send_Data(客户端, json.toJSON())

.子程序函数_好友_手机号码搜索

.参数client,整数类型

.参数手机号码、文字类型

.local变量json,json对象

json.setInteger(\”类型\”, 102007)

json.set text(\”data/syncKey\”, \”1634837911\”, )

json.set text(\”data/searchKey\”,手机号码)

json.setInteger(\”数据/搜索类型\”, 1)

Send_Data(客户端, json.toJSON())

.子程序函数_好友_添加搜索用户

.参数client,整数类型

.参数手机号码,Qiwei_添加手机号码,

.local变量json,json对象

json.setInteger(\”类型\”, 102008)

json.set text(\”data/syncKey\”, \”1634838352\”, )

json.set text(\”data/user_id\”,手机号码.user_id,)

json.set text(\’数据/内容\’,手机号码.内容,)

json.set text(\”data/corp_id\”,手机号码.corp_id,)

json.set text(\”数据/票证\”, 手机号码.票证, )

json.set integer(\”data/addType\”, 手机号码.addType, )

json.set text(\”data/openid\”,手机号码.openid,)

json.set text(\”data/addsource\”,手机号码.addsource,)

Send_Data(客户端, json.toJSON())

.子程序函数_Friend_批准好友请求

.参数client,整数类型

.参数user_id,文本类型

.参数corp_id,文本类型

.local变量json,json对象

json.setInteger(\”类型\”, 102006)

json.settext(\”数据/同步密钥\”, \”1634839267\”)

json.settext(\”数据/用户ID\”, 用户ID)

json.settext(\”数据/corp_id\”, corp_id)

Send_Data(客户端, json.toJSON())

.subroutine function_friend_delete 联系人

.参数client,整数类型

.参数user_id,文本类型

.local变量json,json对象

json.setInteger(\”类型\”, 102004)

json.settext(\”数据/同步密钥\”, \”1634844125\”)

json.settext(\”数据/用户ID\”, 用户ID)

Send_Data(客户端, json.toJSON())

.子程序function_friend_add名片

.参数client,整数类型

.参数user_id,文本类型

.参数Card_source_id,文本类型

.参数corp_id,文本类型

.参数内容、文本类型

.local变量json,json对象

json.setInteger(\”类型\”, 102022)

json.settext(\”数据/同步密钥\”, \”1640930328\”)

json.settext(\”数据/用户ID\”, 用户ID)

json.set text(\”data/card_source_id\”,card_source_id) \’要添加的ID

json.set text(\”data/corp_id\”, corp_id) \’推荐人ID可以为空字符串,默认为当前登录用户的ID。

json.set text(\”data/content\”, content) \’名片消息中的公司ID可以作为空字符串传递

Send_Data(客户端, json.toJSON())

.子程序Function_Group_创建内部组

.参数client,整数类型

.参数room_name,文本类型,组名

.参数mlist,文本类型,数组

.local变量json,json对象

.局部变量all,整型

.局部变量i,整数类型

.局部变量cont,文本类型

json.setInteger(\”类型\”, 105002)

json.settext(\”数据/同步密钥\”, \”1634841115\”)

json.set text(“数据/房间名称”,房间名称)

all=获取数组成员的数量(mlist)

.if true (all 0 and all > 1) \’ 必须是3 人或更多

.计数循环头(全部,i)

继续=mlist[i]

json.set text(“data/member_list/”+ 到文本(i),继续)

.count 循环结束()

.如果真的结束了

Send_Data(客户端, json.toJSON())

.子程序Function_Group_创建外部组

.参数client,整数类型

.参数room_name,文本类型,组名

.参数mlist,文本类型,数组

.local变量json,json对象

.局部变量all,整型

.局部变量i,整数类型

.局部变量cont,文本类型

json.setInteger(\”类型\”, 105021)

json.settext(\”数据/同步密钥\”, \”1634841394\”)

json.set text(“数据/房间名称”,房间名称)

all=获取数组成员的数量(mlist)

.if true (all 0 and all > 1) \’ 必须是3 人或更多

.计数循环头(全部,i)

继续=mlist[i]

json.set text(“data/member_list/”+ 到文本(i),继续)

.count 循环结束()

.如果真的结束了

Send_Data(客户端, json.toJSON())

.subroutine function_group_更改组名

.参数client,整数类型

.参数更改名称、文本类型、组名

.参数组ID,文本类型

.local变量json,json对象

.局部变量all,整型

.局部变量i,整数类型

.局部变量cont,文本类型

json.setInteger(\”类型\”, 105010)

json.settext(\”数据/同步密钥\”, \”1634841642\”)

json.set text(\”data/room_id\”, 组ID)

json.set text(\’数据/内容\’,重命名)

Send_Data(客户端, json.toJSON())

.子程序function_group_pull 批量分组

.参数client,整数类型

.参数组ID,文本类型

.参数mlist,文本类型,数组

.local变量json,json对象

.局部变量all,整型

.局部变量i,整数类型

.局部变量cont,文本类型

json.setInteger(\”类型\”, 105011)

json.settext(\”数据/同步密钥\”, \”1634841788\”)

json.set text(\”data/room_id\”, 组ID)

all=获取数组成员的数量(mlist)

.if true (all 0 and all > 1) \’ 必须是3 人或更多

.计数循环头(全部,i)

继续=mlist[i]

json.set text(“data/member_list/” + 到text (i),续)

.count 循环结束()

.如果真的结束了

Send_Data(客户端, json.toJSON())

.子程序Function_Group_Invite people to a group

.参数client,整数类型

.参数拉组类型,整数类型,#拉组_

.参数组ID,文本类型

.参数mlist,文本类型,数组

.local变量json,json对象

.局部变量all,整型

.局部变量i,整数类型

.局部变量cont,文本类型

json.set integer(\’类型\’, pullgroup 类型)

json.settext(\”数据/同步密钥\”, \”1634841788\”)

json.set text(\”data/room_id\”, 组ID)

all=获取数组成员的数量(mlist)

.if true (all 0 and all > 1) \’ 必须是3 人或更多

.计数循环头(全部,i)

继续=mlist[i]

json.set text(“data/member_list/”+ 到文本(i),继续)

.count 循环结束()

.如果真的结束了

Send_Data(客户端, json.toJSON())

.子程序Function_Group_Move从群聊中移动

.参数client,整数类型

.参数组ID,文本类型

.参数mlist,文本类型,数组

.local变量json,json对象

.局部变量all,整型

.局部变量i,整数类型

.局部变量cont,文本类型

json.setInteger(\”类型\”, 105006)

json.settext(\”数据/同步密钥\”, \”1634842153\”)

json.set text(\”data/room_id\”, 组ID)

all=获取数组成员的数量(mlist)

.if true (all 0 and all > 1) \’ 必须是3 人或更多

.计数循环头(全部,i)

继续=mlist[i]

json.set text(“data/member_list/”+ 到文本(i),继续)

.count 循环结束()

.如果真的结束了

Send_Data(客户端, json.toJSON())

.子程序Function_Group_添加组成员

.参数client,整数类型

.参数成员ID,文本类型,#Lagun_

.参数组ID,文本类型

.参数确认信息,文本类型

.local变量json,json对象

.局部变量all,整型

.局部变量i,整数类型

.局部变量cont,文本类型

json.setInteger(\”类型\”, 102009)

json.settext(\”数据/同步密钥\”, \”1634842717\”)

json.set text(\”data/user_id\”,会员ID)

json.set text(\”data/room_id\”, 组ID)

json.set text(\’数据/内容\’,验证消息)

Send_Data(客户端, json.toJSON())

.子程序function_group_get群组二维码

.参数client,整数类型

.参数组ID,文本类型

.local变量json,json对象

.局部变量all,整型

.局部变量i,整数类型

.局部变量cont,文本类型

json.setInteger(\”类型\”, 105020)

json.settext(\”数据/同步密钥\”, \”1634843042\”)

json.set text(\”data/room_id\”, 组ID)

Send_Data(客户端, json.toJSON())

.子程序Function_Group_Publish群组公告

.参数client,整数类型

.参数组ID,文本类型

.参数公告内容、文本类型

.local变量json,json对象

.局部变量all,整型

.局部变量i,整数类型

.局部变量cont,文本类型

json.setInteger(\”类型\”, 105001)

json.settext(\”数据/同步密钥\”, \”1634843096\”)

json.set text(\”data/room_id\”, 组ID)

json.set text(\”数据/内容\”,公告内容)

Send_Data(客户端, json.toJSON())

.子程序function_group_获取问候语列表

.参数client,整数类型

.local变量json,json对象

json.setInteger(\”类型\”, 105012)

json.settext(\”数据/同步密钥\”, \”1634843210\”)

Send_Data(客户端, json.toJSON())

.子程序Function_Group_Set欢迎信息

.参数client,整数类型

.参数组ID,文本类型

.参数列表ID,整数类型,欢迎列表ID

.local变量json,json对象

json.setInteger(\”类型\”, 105015)

json.settext(\”数据/同步密钥\”, \”1634843343\”)

json.set text(\”data/room_id\”, 组ID)

json.set integer(\”data/index_id\”,列表ID)

Send_Data(客户端, json.toJSON())

.子程序函数_组_添加欢迎消息

.参数client,整数类型

参数:欢迎类型,文本类型,2代表文本,13代表连接。

参数链接地址Qiwei_link 可以为空,当type 为link 时使用。

.参数欢迎文本,文本类型。可以为空。当类型为文本时使用。

.local变量json,json对象

json.setInteger(\”类型\”, 105009)

json.settext(\”数据/同步密钥\”, \”1635458666\”)

.if true(链接地址=“”和欢迎文字=“”)

返回()

.如果真的结束了

审判开始(问候语类型=“2”)

json.set text(\”data/content_list/msg_type\”,欢迎消息类型)

json.set text(“data/content_list/msg/0”,欢迎文本)

.判断(问候语类型=“13”)

json.set text(\”data/content_list/msg/title\”,链接地址.链接标题)

json.set text(\”data/content_list/msg/content\”,链接地址,链接描述)

json.set text(\”data/content_list/msg/url\”,链接地址.链接地址)

设置json.text(“data/content_list/msg/headImg”,链接地址,链接图片)。

json.set text(\”data/content_list/msg_type\”,欢迎消息类型)。默认

.判断结束

Send_Data(客户端, json.toJSON())

.子程序Function_Group_Set 邀请确认

.参数client,整数类型

.参数组ID,文本类型

.参数类型,文本类型,true为打开,false为关闭

.local变量json,json对象

json.setInteger(\”类型\”, 105014)

json.settext(\”数据/同步密钥\”, \”1634843595\”)

json.set text(\”data/room_id\”, 组ID)

json.setInteger(\”数据/类型\”, 类型)

Send_Data(客户端, json.toJSON())

.子程序function_group_转移群组所有者

.参数client,整数类型

.参数组ID,文本类型

.参数user_id,文本类型,要传输的用户ID

.local变量json,json对象

json.setInteger(\”类型\”, 105018)

json.settext(\”数据/同步密钥\”, \”1634843893\”)

json.set text(\”data/room_id\”, 组ID)

json.setInteger(\”数据/用户ID\”, 用户ID)

Send_Data(客户端, json.toJSON())

.子程序函数_组_离开组

.参数client,整数类型

.参数组ID,文本类型

.local变量json,json对象

json.setInteger(\”类型\”, 105008)

json.settext(\”数据/同步密钥\”, \”1634843991\”)

json.set text(\”data/room_id\”, 组ID)

Send_Data(客户端, json.toJSON())

.子程序function_group_dissolution

.参数client,整数类型

.参数组ID,文本类型

.local变量json,json对象

json.setInteger(\”类型\”, 105019)

json.settext(\”数据/同步密钥\”, \”1634844280\”)

json.set text(\”data/room_id\”, 组ID)

Send_Data(客户端, json.toJSON())

.子程序Function_Group_Group名称变更权限

.参数client,整数类型

.参数组ID,文本类型

.参数类型,文本类型,true为打开,false为关闭

.local变量json,json对象

json.setInteger(\”类型\”, 105013)

json.settext(\”数据/同步密钥\”, \”1634844409\”)

json.set text(\”data/room_id\”, 组ID)

json.setText(\”数据/类型\”, 类型)

Send_Data (客户端, json.到JSON ())
.子程序 功能_群_添加管理员
.参数 客户端, 整数型
.参数 群组ID, 文本型
.参数 群员ID, 文本型, , true开启 false关闭
.局部变量 json, json对象
json.置整数 (“type”, 105003)
json.置文本 (“data/syncKey”, “1634844520”)
json.置文本 (“data/room_id”, 群组ID)
json.置文本 (“data/member_list/0”, 群员ID)
Send_Data (客户端, json.到JSON ())
.子程序 功能_群_删除管理员
.参数 客户端, 整数型
.参数 群组ID, 文本型
.参数 群员ID, 文本型, , true开启 false关闭
.局部变量 json, json对象
json.置整数 (“type”, 105004)
json.置文本 (“data/syncKey”, “1634844633”)
json.置文本 (“data/room_id”, 群组ID)
json.置文本 (“data/member_list/0”, 群员ID)
Send_Data (客户端, json.到JSON ())
.子程序 功能_群_取客户群列表
.参数 客户端, 整数型
.局部变量 json, json对象
json.置整数 (“type”, 105022)
json.置文本 (“data/syncKey”, “1634836259”)
Send_Data (客户端, json.到JSON ())
.子程序 功能_群_二维码进群, , , 二维码进群
.参数 客户端, 整数型
.参数 二维码值, 文本型, , 二维码值
.局部变量 json, json对象
json.置整数 (“type”, 105023)
json.置文本 (“data/syncKey”, “1650123488”)
json.置文本 (“data/code”, 二维码值)
Send_Data (客户端, json.到JSON ())
.子程序 功能_群_取群详细信息
.参数 客户端, 整数型
.参数 群组ID, 文本型, , 二维码值
.局部变量 json, json对象
json.置整数 (“type”, 105024)
json.置文本 (“data/syncKey”, “1634843042”)
json.置文本 (“data/room_id”, 群组ID)
Send_Data (客户端, json.到JSON ())
.子程序 功能_标签_取列表
.参数 客户端, 整数型
.局部变量 json, json对象
json.置整数 (“type”, 103005)
json.置文本 (“data/syncKey”, “1634847038”)
Send_Data (客户端, json.到JSON ())
.子程序 功能_标签_创建
.参数 客户端, 整数型
.参数 标签组ID, 文本型
.参数 标签名称, 文本型
.局部变量 json, json对象
json.置整数 (“type”, 108001)
json.置文本 (“data/syncKey”, “1634847137”)
json.置文本 (“data/group_id”, 标签组ID)
json.置文本 (“data/label_name”, 标签名称)
Send_Data (客户端, json.到JSON ())
.子程序 功能_标签_修改
.参数 客户端, 整数型
.参数 标签ID, 文本型
.参数 标签名称, 文本型
.参数 标签组ID, 文本型
.局部变量 json, json对象
json.置整数 (“type”, 108003)
json.置文本 (“data/syncKey”, “1634847238”)
json.置文本 (“data/label_id”, 标签ID)
json.置文本 (“data/label_name”, 标签名称)
json.置文本 (“data/group_id”, 标签组ID)
Send_Data (客户端, json.到JSON ())
.子程序 功能_标签_删除
.参数 客户端, 整数型
.参数 标签ID, 文本型
.参数 标签组ID, 文本型
.局部变量 json, json对象
json.置整数 (“type”, 108002)
json.置文本 (“data/syncKey”, “1634847534”)
json.置文本 (“data/label_id”, 标签ID)
json.置文本 (“data/group_id”, 标签组ID)
Send_Data (客户端, json.到JSON ())
.子程序 功能_标签_用户添加
.参数 客户端, 整数型
.参数 标签ID, 文本型
.参数 用户ID, 文本型
.局部变量 json, json对象
json.置整数 (“type”, 108004)
json.置文本 (“data/syncKey”, “1634847339”)
json.置文本 (“data/label_id”, 标签ID)
json.置文本 (“data/add_user_id_list/0”, 用户ID)
json.置文本 (“data/del_user_id_list/0”, “”)
Send_Data (客户端, json.到JSON ())
.子程序 功能_标签_获取标签用户
.参数 客户端, 整数型
.参数 标签ID, 文本型
.局部变量 json, json对象
json.置整数 (“type”, 108006)
json.置文本 (“data/syncKey”, “1634847657”)
json.置文本 (“data/label_id”, 标签ID)
Send_Data (客户端, json.到JSON ())
.子程序 功能_CDN_文件上传
.参数 客户端, 整数型
.参数 文件路径, 文本型
.局部变量 json, json对象
json.置整数 (“type”, 103009)
json.置文本 (“data/syncKey”, “1650537501”)
json.置文本 (“data/file_path”, 文件路径)
Send_Data (客户端, json.到JSON ())
.子程序 功能_CDN_视频下载
.参数 客户端, 整数型
.参数 aes_key, 文本型
.参数 cdn_key, 文本型
.参数 size, 整数型
.局部变量 json, json对象
json.置整数 (“type”, 103012)
json.置文本 (“data/syncKey”, “1650198281”)
json.置文本 (“data/aes_key”, aes_key)
json.置文本 (“data/cdn_key”, cdn_key)
json.置整数 (“data/size”, size)
Send_Data (客户端, json.到JSON ())
.子程序 功能_CDN_文件下载
.参数 客户端, 整数型
.参数 aes_key, 文本型
.参数 cdn_key, 文本型
.参数 size, 整数型
.参数 文件名称, 文本型
.局部变量 json, json对象
json.置整数 (“type”, 103011)
json.置文本 (“data/syncKey”, “1650198281”)
json.置文本 (“data/aes_key”, aes_key)
json.置文本 (“data/cdn_key”, cdn_key)
json.置整数 (“data/size”, size)
json.置文本 (“data/file_name”, 文件名称)
Send_Data (客户端, json.到JSON ())
.子程序 功能_CDN_图片下载
.参数 客户端, 整数型
.参数 aes_key, 文本型
.参数 cdn_key, 文本型
.参数 size, 整数型
.局部变量 json, json对象
json.置整数 (“type”, 103010)
json.置文本 (“data/syncKey”, “1650198281”)
json.置文本 (“data/aes_key”, aes_key)
json.置文本 (“data/cdn_key”, cdn_key)
json.置整数 (“data/size”, size)
Send_Data (客户端, json.到JSON ())
.子程序 功能_微信CDN_图片上传
.参数 客户端, 整数型
.参数 文件路径, 文本型
.局部变量 json, json对象
json.置整数 (“type”, 103013)
json.置文本 (“data/syncKey”, “1650537501”)
json.置文本 (“data/file_path”, 文件路径)
Send_Data (客户端, json.到JSON ())
.子程序 功能_微信CDN_视频上传
.参数 客户端, 整数型
.参数 文件路径, 文本型
.参数 视频封面图, 文本型
.局部变量 json, json对象
json.置整数 (“type”, 103014)
json.置文本 (“data/syncKey”, “1650537693”)
json.置文本 (“data/img_file_path”, 视频封面图) \’ 视频封面图
json.置文本 (“data/file_path”, 文件路径) \’ 视频路径
Send_Data (客户端, json.到JSON ())
.子程序 功能_发送文本
.参数 客户端, 整数型
.参数 用户ID, 文本型
.参数 消息内容, 文本型
.局部变量 json, json对象
json.置整数 (“type”, 101003)
json.置文本 (“data/syncKey”, “1634844920”)
json.置文本 (“data/sendId”, 用户ID)
json.置文本 (“data/msg”, 消息内容)
Send_Data (客户端, json.到JSON ())
.子程序 功能_发送图片
.参数 客户端, 整数型
.参数 用户ID, 文本型
.参数 图片路径, 文本型
.局部变量 json, json对象
json.置整数 (“type”, 101004)
json.置文本 (“data/syncKey”, “1634845066”)
json.置文本 (“data/sendId”, 用户ID)
json.置文本 (“data/file”, 图片路径)
Send_Data (客户端, json.到JSON ())
.子程序 功能_发送gif
.参数 客户端, 整数型
.参数 用户ID, 文本型
.参数 图片路径, 文本型
.局部变量 json, json对象
json.置整数 (“type”, 101001)
json.置文本 (“data/syncKey”, “1634845200”)
json.置文本 (“data/sendId”, 用户ID)
json.置文本 (“data/file”, 图片路径)
Send_Data (客户端, json.到JSON ())
.子程序 功能_发送文件
.参数 客户端, 整数型
.参数 用户ID, 文本型
.参数 文件路径, 文本型
.局部变量 json, json对象
json.置整数 (“type”, 101007)
json.置文本 (“data/syncKey”, “1634845335”)
json.置文本 (“data/sendId”, 用户ID)
json.置文本 (“data/file”, 文件路径)
Send_Data (客户端, json.到JSON ())
.子程序 功能_发送视频
.参数 客户端, 整数型
.参数 用户ID, 文本型
.参数 视频路径, 文本型
.局部变量 json, json对象
json.置整数 (“type”, 101008)
json.置文本 (“data/syncKey”, “1634845445”)
json.置文本 (“data/sendId”, 用户ID)
json.置文本 (“data/file”, 视频路径)
Send_Data (客户端, json.到JSON ())
.子程序 功能_发送名片
.参数 客户端, 整数型
.参数 用户ID, 文本型
.参数 名片ID, 文本型
.局部变量 json, json对象
json.置整数 (“type”, 101009)
json.置文本 (“data/syncKey”, “1634845575”)
json.置文本 (“data/sendId”, 用户ID)
json.置文本 (“data/username”, 名片ID)
Send_Data (客户端, json.到JSON ())
.子程序 功能_发送小程序
.参数 客户端, 整数型
.参数 用户ID, 文本型
.参数 小程序, 企微_小程序
.局部变量 json, json对象
json.置整数 (“type”, 101002)
json.置文本 (“data/syncKey”, “1634845750”)
json.置文本 (“data/sendId”, 用户ID)
json.置文本 (“data/title”, 小程序.title)
json.置文本 (“data/des”, 小程序.des)
json.置文本 (“data/headImgUrl”, 小程序.headImgUrl)
json.置文本 (“data/titleImg”, 小程序.titleImg)
json.置文本 (“data/appid”, 小程序.appid)
json.置文本 (“data/wechatId”, 小程序.wechatId)
json.置文本 (“data/path”, 小程序.path)
Send_Data (客户端, json.到JSON ())
.子程序 功能_发送视频号
.参数 客户端, 整数型
.参数 用户ID, 文本型
.参数 视频号, 企微_视频号
.局部变量 json, json对象
json.置整数 (“type”, 101010)
json.置文本 (“data/syncKey”, “1634845833”)
json.置文本 (“data/sendId”, 用户ID)
json.置文本 (“data/coverUrl”, 视频号.coverUrl)
json.置文本 (“data/thumbUrl”, 视频号.thumbUrl)
json.置文本 (“data/avatar”, 视频号.avatar)
json.置文本 (“data/nickname”, 视频号.nickname)
json.置文本 (“data/desc”, 视频号.desc)
json.置文本 (“data/url”, 视频号.url)
json.置文本 (“data/extras”, 视频号.extras)
Send_Data (客户端, json.到JSON ())
.子程序 功能_发送链接
.参数 客户端, 整数型
.参数 用户ID, 文本型
.参数 链接, 企微_链接
.局部变量 json, json对象
json.置整数 (“type”, 101006)
json.置文本 (“data/syncKey”, “1634846040”)
json.置文本 (“data/sendId”, 用户ID)
json.置文本 (“data/url”, 链接.链接地址)
json.置文本 (“data/title”, 链接.链接标题)
json.置文本 (“data/content”, 链接.链接描述)
json.置文本 (“data/headImg”, 链接.链接图片)
Send_Data (客户端, json.到JSON ())
.子程序 功能_发送群艾特
.参数 客户端, 整数型
.参数 用户ID, 文本型
.参数 发送内容, 文本型
.参数 艾特ID, 文本型
.局部变量 json, json对象
json.置整数 (“type”, 101013)
json.置文本 (“data/syncKey”, “1636389081”)
json.置文本 (“data/sendId”, 用户ID)
json.置文本 (“data/content”, 发送内容)
json.置文本 (“data/at_list/0”, 艾特ID)
Send_Data (客户端, json.到JSON ())
.子程序 功能_发送位置消息
.参数 客户端, 整数型
.参数 用户ID, 文本型
.参数 地址, 文本型
.参数 详细地址, 文本型
.参数 longitude, 小数型
.参数 latitude, 小数型
.局部变量 json, json对象
json.置整数 (“type”, 101014)
json.置文本 (“data/syncKey”, “1637302430”)
json.置文本 (“data/sendId”, 用户ID)
json.置小数 (“data/longitude”, longitude)
json.置小数 (“data/latitude”, latitude)
json.置文本 (“data/address”, 地址) \’ 地址
json.置文本 (“data/detailed_address”, 详细地址) \’ 详细地址
Send_Data (客户端, json.到JSON ())
.子程序 功能_发送语音消息
.参数 客户端, 整数型
.参数 用户ID, 文本型
.参数 语音, 企微_语音
.局部变量 json, json对象
json.置整数 (“type”, 101019)
json.置文本 (“data/syncKey”, “1648320823”)
json.置文本 (“data/sendId”, 用户ID)
json.置文本 (“data/cdn_key”, 语音.cdn_key, )
json.置文本 (“data/aes_key”, 语音.aes_key, )
json.置文本 (“data/md5”, 语音.md5, )
json.置整数 (“data/size”, 语音.size, ) \’ 必填所有cdn有关的都需要填 cdn上传会返回
Send_Data (客户端, json.到JSON ())
.子程序 功能_撤销消息
.参数 客户端, 整数型
.参数 消息ID, 整数型
.参数 群ID, 文本型
.参数 aes_key, 文本型
.参数 md5, 文本型
.参数 size, 整数型
.局部变量 json, json对象
json.置整数 (“type”, 101011)
json.置文本 (“data/syncKey”, “1634846465”)
json.置整数 (“data/msg_id”, 消息ID)
json.置文本 (“data/room_id”, 群ID) \’ 如果撤回的是群消息,需带有群ID
json.置文本 (“data/aes_key”, aes_key)
json.置文本 (“data/md5”, md5)
json.置整数 (“data/size”, size)
Send_Data (客户端, json.到JSON ())
.子程序 功能_转发消息
.参数 客户端, 整数型
.参数 用户ID, 文本型
.参数 群ID, 文本型
.参数 msg_type, 整数型
.局部变量 json, json对象
json.置整数 (“type”, 101005)
json.置文本 (“data/syncKey”, “1650541244”)
json.置文本 (“data/sendId”, 用户ID)
json.置文本 (“data/msg”, 群ID) \’ 消息回调中获取forward字段
json.置整数 (“data/msg_type”, msg_type)
Send_Data (客户端, json.到JSON ())
.子程序 功能_清空聊天记录
.参数 客户端, 整数型
.参数 用户ID, 文本型
.局部变量 json, json对象
json.置整数 (“type”, 106005)
json.置文本 (“data/syncKey”, “1635191021”)
json.置文本 (“data/user_id”, 用户ID)
Send_Data (客户端, json.到JSON ())
.子程序 功能_语音转文字
.参数 客户端, 整数型
.参数 msgid, 文本型, , 语音消息id
.局部变量 json, json对象
json.置整数 (“type”, 101017)
json.置文本 (“data/syncKey”, “1646146603”)
json.置文本 (“data/msgid”, msgid)
Send_Data (客户端, json.到JSON ())
.子程序 功能_CDN_发送视频消息, , , cdn数据在cdn上传中获取
.参数 客户端, 整数型
.参数 用户ID, 文本型, ,
.参数 aes_key, 文本型
.参数 cdn_key, 文本型
.参数 md5, 文本型
.参数 size, 整数型
.局部变量 json, json对象
json.置整数 (“type”, 101021)
json.置文本 (“data/syncKey”, “1650537847”)
json.置文本 (“data/sendId”, 用户ID)
json.置文本 (“data/aes_key”, aes_key)
json.置文本 (“data/cdn_key”, cdn_key)
json.置文本 (“data/md5”, md5)
json.置整数 (“data/size”, size)
Send_Data (客户端, json.到JSON ())
.子程序 功能_CDN_发送图片消息, , , cdn数据在cdn上传中获取
.参数 客户端, 整数型
.参数 用户ID, 文本型, ,
.参数 aes_key, 文本型
.参数 cdn_key, 文本型
.参数 md5, 文本型
.参数 size, 整数型
.局部变量 json, json对象
json.置整数 (“type”, 101020)
json.置文本 (“data/syncKey”, “1650538073”)
json.置文本 (“data/sendId”, 用户ID)
json.置文本 (“data/aes_key”, aes_key)
json.置文本 (“data/cdn_key”, cdn_key)
json.置文本 (“data/md5”, md5)
json.置整数 (“data/size”, size)
Send_Data (客户端, json.到JSON ())
.子程序 功能_CDN_发送文件消息, , , cdn数据在cdn上传中获取
.参数 客户端, 整数型
.参数 用户ID, 文本型, ,
.参数 aes_key, 文本型
.参数 cdn_key, 文本型
.参数 md5, 文本型
.参数 size, 整数型
.参数 file_name, 文本型, , 文件名称
.局部变量 json, json对象
json.置整数 (“type”, 101022)
json.置文本 (“data/syncKey”, “1650538230”)
json.置文本 (“data/sendId”, 用户ID)
json.置文本 (“data/aes_key”, aes_key)
json.置文本 (“data/cdn_key”, cdn_key)
json.置文本 (“data/md5”, md5)
json.置文本 (“data/file_name”, file_name)
json.置整数 (“data/size”, size)
Send_Data (客户端, json.到JSON ())
.子程序 功能_CDN_发送小程序消息, , , cdn数据在cdn上传中获取
.参数 客户端, 整数型
.参数 用户ID, 文本型, ,
.参数 title, 文本型
.参数 des, 文本型
.参数 headImgUrl, 文本型
.参数 size, 整数型
.参数 appid, 文本型
.参数 wechatId, 文本型
.参数 path, 文本型
.参数 thumbfileid, 文本型
.参数 thumbmd5, 文本型
.参数 thumbaeskey, 文本型
.局部变量 json, json对象
json.置整数 (“type”, 101015)
json.置文本 (“data/syncKey”, “1650540110”)
json.置文本 (“data/sendId”, 用户ID)
json.置文本 (“data/title”, title)
json.置文本 (“data/des”, des)
json.置文本 (“data/headImgUrl”, headImgUrl)
json.置文本 (“data/appid”, appid)
json.置文本 (“data/wechatId”, wechatId)
json.置文本 (“data/path”, path)
json.置文本 (“data/thumbfileid”, thumbfileid)
json.置文本 (“data/thumbmd5”, thumbmd5)
json.置文本 (“data/thumbaeskey”, thumbaeskey)
json.置整数 (“data/size”, size)
Send_Data (客户端, json.到JSON ())
.子程序 功能_设置_自动更新
.参数 客户端, 整数型
.参数 type, 整数型, , 0关1开
.局部变量 json, json对象
json.置整数 (“type”, 106001)
json.置文本 (“data/syncKey”, “1650540110”)
json.置文本 (“data/type”, type)
Send_Data (客户端, json.到JSON ())
.子程序 功能_设置_自动登录
.参数 客户端, 整数型
.参数 type, 整数型, , 0关1开
.局部变量 json, json对象
json.置整数 (“type”, 106002)
json.置文本 (“data/syncKey”, “1650540110”)
json.置文本 (“data/type”, type)
Send_Data (客户端, json.到JSON ())
.子程序 功能_设置_自动下载
.参数 客户端, 整数型
.参数 type, 文本型, , true是 false否
.局部变量 json, json对象
json.置整数 (“type”, 106004)
json.置文本 (“data/syncKey”, “1650540110”)
json.置文本 (“data/state”, type)
Send_Data (客户端, json.到JSON ())
.子程序 功能_转换_silk转mp3
.参数 客户端, 整数型
.参数 file_path, 文本型, , 本地路径
.局部变量 json, json对象
json.置整数 (“type”, 103007)
json.置文本 (“data/syncKey”, “1648320541”)
json.置文本 (“data/file_path”, file_path)
Send_Data (客户端, json.到JSON ())
.子程序 功能_转换_mp3转silk
.参数 客户端, 整数型
.参数 file_path, 文本型, , 本地路径
.局部变量 json, json对象
json.置整数 (“type”, 103008)
json.置文本 (“data/syncKey”, “1648320655”)
json.置文本 (“data/file_path”, file_path)
Send_Data (客户端, json.到JSON ())

.版本 2
.数据类型 企微_语音
.成员 cdn_key, 文本型
.成员 aes_key, 文本型
.成员 md5, 文本型
.成员 size, 整数型
.数据类型 企微_用户
.成员 别名, 文本型
.成员 姓名, 文本型
.成员 wxid, 文本型
.成员 头像, 文本型
.成员 性别, 文本型
.成员 公司名, 文本型
.成员 公司简称, 文本型
.成员 手机号, 文本型
.成员 pid, 文本型
.成员 公司ID, 文本型
.数据类型 企微_链接
.成员 链接标题, 文本型
.成员 链接描述, 文本型
.成员 链接图片, 文本型
.成员 链接地址, 文本型
.数据类型 企微_小程序
.成员 title, 文本型
.成员 des, 文本型
.成员 headImgUrl, 文本型
.成员 titleImg, 文本型
.成员 appid, 文本型
.成员 wechatId, 文本型
.成员 path, 文本型
.数据类型 企微_视频号
.成员 coverUrl, 文本型
.成员 thumbUrl, 文本型
.成员 avatar, 文本型
.成员 nickname, 文本型
.成员 desc, 文本型
.成员 url, 文本型
.成员 extras, 文本型
.数据类型 企微_添加手机号
.成员 addType, 整数型
.成员 user_id, 文本型
.成员 corp_id, 文本型
.成员 content, 文本型
.成员 openid, 文本型
.成员 addsource, 文本型
.成员 ticket, 文本型

#以上关于PCHOOK(3.9.10.19)讲解分析的相关内容来源网络仅供参考,相关信息请以官方公告为准!

原创文章,作者:CSDN,如若转载,请注明出处:https://www.sudun.com/ask/91200.html

(0)
CSDN的头像CSDN
上一篇 2024年6月21日
下一篇 2024年6月21日

相关推荐

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注