提交 bdee01c0 编写于 作者: L ljc545w

Update README

上级 254e8228
......@@ -66,6 +66,8 @@ CWeChatRobot.exe /unregserver
1. 添加发送群艾特消息的接口
## 2022.04.12
1. 添加通过群ID获取所有群成员wxid接口
## 2022.04.13
1. 更新群艾特接口,可同时艾特多人
# 打赏作者
请给作者一个star,感谢感谢
# 免责声明
......
......@@ -63,10 +63,20 @@ class WeChatRobot():
myinfo['wxBigAvatar'] = myinfo['wxBigAvatar'].replace("/132","/0")
self.myinfo = myinfo
return self.myinfo
# 这个可以再更新一下,CStopRobotService返回COM组件的pid
def StopService(self):
import psutil
self.StopReceiveMessage()
return self.robot.CStopRobotService()
status = self.robot.CStopRobotService()
pids = psutil.pids()
for pid in pids:
p = psutil.Process(pid)
process_name = p.name()
if process_name == 'CWeChatRobot.exe':
p.kill()
break
return status
def GetAddressBook(self):
try:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册