From 20aefbb3a1c0eea9697c4671f7589b595333f3a9 Mon Sep 17 00:00:00 2001 From: Codex Date: Thu, 21 May 2026 13:15:14 +0800 Subject: [PATCH] =?UTF-8?q?docs/README:=20=E6=9B=B4=E6=96=B0=E6=9E=B6?= =?UTF-8?q?=E6=9E=84=E8=AE=BE=E8=AE=A1=20ASCII=20=E5=9B=BE=E5=8F=8D?= =?UTF-8?q?=E6=98=A0=E9=87=8D=E6=9E=84=E5=90=8E=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 用户界面层从 "gui_app.py / web_gui.py / run_cli.py" 改为 "bin/run_cli.py / bin/gui_app.py / bin/webgui_launcher.py" - 底层操作层从 "operations/ device/screenshot/ocr" 改为 "douyin/core/underlying_operations.py + operations/ (向后兼容包装)" (删除已删的 device_operations.py 提及) - 路径配置从 "path_config.py" 改为 "douyin/core/path_config.py" Co-Authored-By: Claude Opus 4.7 --- README.md | 66 +++++++++++++++++++++++++++---------------------------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/README.md b/README.md index e062142..6392762 100644 --- a/README.md +++ b/README.md @@ -298,39 +298,39 @@ pytest tests/unit/test_example.py::test_some_behavior -q ### 架构设计 ``` -┌─────────────────────────────────────────┐ -│ GUI / Web GUI / CLI (用户界面层) │ -│ gui_app.py / web_gui.py / run_cli.py │ -└──────────────┬──────────────────────────┘ - │ -┌──────────────▼──────────────────────────┐ -│ douyin/core/douyin_fudai.py │ -│ fudai_analyse (Mixin 组合模式) │ -│ (核心调度器 - 主流程控制) │ -└──────────────┬──────────────────────────┘ - │ - ┌──────────┼──────────┐ - │ │ │ -┌───▼───┐ ┌───▼───┐ ┌───▼───┐ -│阶段诊断│ │福袋核心│ │弹窗处理│ -│stage/ │ │fudai/ │ │handlers│ -└───────┘ └───────┘ └───────┘ - │ │ │ - └──────────┼──────────┘ - │ -┌──────────────▼──────────────────────────┐ -│ operations/ (底层操作模块) │ -│ device / screenshot / ocr │ -└──────────────┬──────────────────────────┘ - │ -┌──────────────▼──────────────────────────┐ -│ path_config.py (路径配置) │ -│ 统一管理所有文件路径 │ -└──────────────┬──────────────────────────┘ - │ -┌──────────────▼──────────────────────────┐ -│ ADB / PaddleOCR (系统底层接口) │ -└─────────────────────────────────────────┘ +┌────────────────────────────────────────────────┐ +│ bin/run_cli.py / bin/gui_app.py / bin/webgui │ +│ (用户界面 / CLI 入口层) │ +└──────────────────┬─────────────────────────────┘ + │ +┌──────────────────▼─────────────────────────────┐ +│ douyin/core/douyin_fudai.py │ +│ fudai_analyse (Mixin 组合模式) │ +│ (核心调度器 - 主流程控制) │ +└──────────────────┬─────────────────────────────┘ + │ + ┌───────────┼───────────┐ + │ │ │ +┌──────▼──┐ ┌─────▼──┐ ┌─────▼──┐ +│阶段诊断 │ │福袋核心│ │弹窗处理│ +│stage/ │ │fudai/ │ │handlers│ +└─────────┘ └────────┘ └────────┘ + │ │ │ + └───────────┼───────────┘ + │ +┌──────────────────▼─────────────────────────────┐ +│ douyin/core/underlying_operations.py + │ +│ operations/ (向后兼容包装:ocr / screenshot) │ +└──────────────────┬─────────────────────────────┘ + │ +┌──────────────────▼─────────────────────────────┐ +│ douyin/core/path_config.py (路径配置) │ +│ 统一管理所有文件路径 │ +└──────────────────┬─────────────────────────────┘ + │ +┌──────────────────▼─────────────────────────────┐ +│ ADB / PaddleOCR (系统底层接口) │ +└────────────────────────────────────────────────┘ ``` **设计特点**: