qwwqfwq
This commit is contained in:
24
main.py
24
main.py
@@ -356,19 +356,21 @@ def kp(event_data):
|
||||
# WXBotService.add_group_members_40_more(robot_wxid='wxid_sfvsru738v3122',
|
||||
# from_wxid='49187487591@chatroom',
|
||||
# new_wxid='wxid_4413224132412')
|
||||
|
||||
print("data",data)
|
||||
if "emoji" in wx_name:
|
||||
# 发送小程序
|
||||
# utils.sendminiProgram(data, account_wxid, wxid, planetXml)
|
||||
utils.sendminiProgram(data, account_wxid, wxid, planetXml)
|
||||
else:
|
||||
# H5链接
|
||||
WXBotService.send_link_message(
|
||||
account_wxid,
|
||||
wxid,
|
||||
title="欢迎加入微信群",
|
||||
desc="请查看规则",
|
||||
url=f'https://link.hackrobot.cn#/pages/index/index?wxid={wxid}',
|
||||
pic=
|
||||
"https://www.hackrobot.cn/wp-content/uploads/2023/05/cropped-cropped-Screenshot-2023-05-22-at-17.26.38.png"
|
||||
)
|
||||
WXBotService.send_link_message(
|
||||
account_wxid,
|
||||
wxid,
|
||||
title="欢迎加入微信群",
|
||||
desc="请查看规则",
|
||||
url=f'https://link.hackrobot.cn#/pages/index/index?wxid={wxid}',
|
||||
pic=
|
||||
"https://www.hackrobot.cn/wp-content/uploads/2023/05/cropped-cropped-Screenshot-2023-05-22-at-17.26.38.png"
|
||||
)
|
||||
|
||||
# if msg in ['腾讯云']:
|
||||
# # 发送小程序
|
||||
|
||||
Reference in New Issue
Block a user