提交 ce344e97 authored 作者: 陈泽健's avatar 陈泽健

输出富创项目的MQTT会议推送相关代码处理。

上级 eee8ba11
......@@ -381,6 +381,23 @@ class Mqtt:
}
})
elif topic == "/meeting/message/sync" and config['action'] == 'add':
return json.dumps({
"action": "add",
"thirdMessageDTO": [{
"thirdPartyMeetingId": config['thirdPartyMeetingId'],
"messageCompere": "张三",
"thirdPartyUserId": "jiaojiao",
"conferenceName": config['conferenceName'],
"thirdPartyRoomId": config['thirdPartyRoomId'],
"messageName": config['messageName'],
"startTime": config['startTime'],
"endTime": config['endTime'],
"companyNumber": config['companyNumber']
}]
})
def send_and_receive_messages(self, topic: str, message: str, num_times: int = 1, timeout: int = 5,
interval: float = 0.2):
"""
......
......@@ -97,4 +97,5 @@
- 处理issue_send_and_upload函数议题文件上传失败的问题。
28. 2024-12-12
- 处理模拟器无纸化无法读取PAK问题,实现通过模拟器进行app自动化巡检流程。
- 处理appium自动化截屏。
\ No newline at end of file
- 处理appium自动化截屏。
- 输出富创项目的MQTT会议推送相关代码处理。
\ No newline at end of file
......@@ -54,7 +54,6 @@ def app_nopaper_test():
app_drive.get_screenshot_as_file(
r"D:\GithubData\自动化测试\ubains-module-test\预定系统\reports\imgs\Exhibit_Inspect\noPaperless\议题文件查看截屏.png")
except Exception as e:
logging.error(f"发生错误: {e}", exc_info=True)
......@@ -65,4 +64,4 @@ def app_nopaper_test():
logging.info("驱动程序已退出。")
if __name__ == '__main__':
app_nopaper_test()
app_nopaper_test()
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论