From 2f8af245ea8e763be5255f83863cc4477e27157a Mon Sep 17 00:00:00 2001 From: 2977094657 <2977094657@qq.com> Date: Sat, 25 Apr 2026 23:24:44 +0800 Subject: [PATCH] =?UTF-8?q?feat(export):=20=E6=94=AF=E6=8C=81=E8=B4=A6?= =?UTF-8?q?=E5=8F=B7=E5=BD=92=E6=A1=A3=20ZIP=20=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增账号归档导出后端接口,支持创建、查询、取消导出任务和下载 ZIP 文件 - 支持按账号打包数据库、元信息文件和资源文件,并使用 ZIP 存储模式提升大文件归档速度 - 前端接入账号归档导出 API,支持导出目录选择、导出内容勾选、进度轮询和取消导出 - 简化全局导出弹窗,将入口聚焦为数据库与资源文件归档导出 - 开启侧边栏导出入口,并补充 README 中的导出说明 --- README.md | 4 + frontend/components/GlobalExportDialog.vue | 1714 +++++------------ frontend/components/SidebarRail.vue | 5 +- frontend/composables/useApi.js | 27 + src/wechat_decrypt_tool/api.py | 2 + .../routers/account_archive_export.py | 498 +++++ 6 files changed, 965 insertions(+), 1285 deletions(-) create mode 100644 src/wechat_decrypt_tool/routers/account_archive_export.py diff --git a/README.md b/README.md index c5e1b4c..770d546 100644 --- a/README.md +++ b/README.md @@ -176,6 +176,10 @@ npm run dist ## 使用指南 +### 导出 + +侧边栏提供“导出”入口,点击下载图标可打开统一导出弹窗。当前导出界面只保留两个选项:导出数据库、导出资源文件;用户选择导出目录后会生成一个账号归档 ZIP。当两个选项都勾选时,导出会按账号目录直接归档,使用 ZIP 存储模式打包,尽量避免二次压缩带来的耗时。 + ### 获取解密密钥 在使用本工具之前,您需要先获取微信数据库的解密密钥。推荐使用以下工具: diff --git a/frontend/components/GlobalExportDialog.vue b/frontend/components/GlobalExportDialog.vue index 8791bf9..082d135 100644 --- a/frontend/components/GlobalExportDialog.vue +++ b/frontend/components/GlobalExportDialog.vue @@ -1,18 +1,30 @@