增加合并全部数据库的命令

This commit is contained in:
xaoyaoo 2024-05-06 17:37:32 +08:00
parent abd2555a0d
commit 2783cf4faf

View File

@ -406,6 +406,10 @@ def merge_real_time_db(key, db_path: str, merge_path: str, CreateTime: int = 0,
def all_merge_real_time_db(key, wx_path, merge_path):
"""
合并所有实时数据库
这是全量合并会有可能产生重复数据需要自行去重
"""
if not merge_path or not key or not wx_path or not wx_path:
return False, "msg_path or media_path or wx_path or key is required"
try: