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

This commit is contained in:
xaoyaoo committed 2024-05-06 17:37:32 +08:00
1 parent abd2555a0d
commit 2783cf4faf
1 file changed
+4
+4
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: